diff --git a/commands/General/setafk.js b/commands/General/setafk.js index 3956da76..69980e4e 100644 --- a/commands/General/setafk.js +++ b/commands/General/setafk.js @@ -35,7 +35,7 @@ class Setafk extends Command { const m = await message.success("general/setafk:SUCCESS", { reason, - prefix: data.guild.prefix || "$" + prefix: message.guild ? data.guild.prefix : "$" }); setTimeout(() => {