reformatted to use my template

This commit is contained in:
2022-03-31 15:04:54 -05:00
parent a9ea7bf8d5
commit 7bac005fe7
32 changed files with 8222 additions and 783 deletions

11
commands.ts Normal file
View File

@@ -0,0 +1,11 @@
import { CommandInteraction } from 'discord.js';
import { getUser } from './util/discord';
import Lang from 'lang/discord';
export async function PingCommand(interaction: CommandInteraction) {
const user = getUser(interaction);
interaction.reply(Lang.getEmbed('command.ping', {
username: user.username,
avatar: user.avatarURL()
}))
}