mirror of
https://github.com/kirameki-cafe/Yumi.git
synced 2026-09-13 10:49:20 +00:00
Remove unused code
This commit is contained in:
@@ -113,30 +113,4 @@ export default class InteractionManager {
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
export class AInteractionManager {
|
||||
async onCommand(command: string, args: any, message: Message) {
|
||||
if(command.toLowerCase() !== 'interaction') return;
|
||||
|
||||
if(!message.guildId) return;
|
||||
if(message.member === null) return;
|
||||
if(message.guild === null) return;
|
||||
|
||||
// TODO: Add dev check
|
||||
|
||||
if(args.length === 0)
|
||||
return await sendReply(message, {
|
||||
embeds: [makeInfoEmbed ({
|
||||
|
||||
user: message.author
|
||||
})]
|
||||
});
|
||||
else {
|
||||
if(args[0].toLowerCase() === "reloadall") {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user