Added removal of cache when not needed
Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
@@ -26,6 +26,7 @@ export default function loadAutocompleteEvents(client: Client, ft: FileType) {
|
||||
)
|
||||
)
|
||||
}
|
||||
delete require.cache[require.resolve(filePath)]
|
||||
}
|
||||
|
||||
client.on(Events.InteractionCreate, async interaction => {
|
||||
|
||||
Reference in New Issue
Block a user