mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-11-02 15:29:50 +01:00
refactor(arabot): remove a few comments
This commit is contained in:
parent
9d487fcbf6
commit
db3c16b2b2
@ -44,11 +44,8 @@ class RenameUserCommand extends Command {
|
||||
|
||||
// Command run
|
||||
public async chatInputRun(interaction: Command.ChatInputCommandInteraction) {
|
||||
// TODO add database updates
|
||||
// Get the arguments
|
||||
const { guild } = interaction;
|
||||
|
||||
// Checks if all the variables are of the right type
|
||||
if (guild === null) {
|
||||
await interaction.reply({
|
||||
content: 'Error fetching guild!',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user