mirror of
https://github.com/kirameki-cafe/Yumi.git
synced 2026-09-13 18:59:19 +00:00
Remove unused code
This commit is contained in:
@@ -114,29 +114,3 @@ 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