This command is an advanced ban command which bans the user your mention and also logs the time, user id, and reason! You can also setup a logging channel which sends a message if ANY member is banned using the bot. This command also messages the user why the got banned and where they got banned.
DiscordAPIError[10062]: Unknown interaction at SequentialHandler.runRequest (B:\Coding\FunGamers Discord Bot v14\node_modules\@discordjs\rest\dist\lib\handlers\SequentialHandler.cjs:287:15) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async SequentialHandler.queueRequest (B:\Coding\FunGamers Discord Bot v14\node_modules\@discordjs\rest\dist\lib\handlers\SequentialHandler.cjs:99:14) at async REST.request (B:\Coding\FunGamers Discord Bot v14\node_modules\@discordjs\rest\dist\lib\REST.cjs:52:22) at async ChatInputCommandInteraction.deferReply (B:\Coding\FunGamers Discord Bot v14\node_modules\discord.js\src\structures\interfaces\InteractionResponses.js:68:5) at async Object.execute (B:\Coding\FunGamers Discord Bot v14\Commands\Staff Commands\ban.js:232:7) { rawError: { message: 'Unknown interaction', code: 10062 }, code: 10062, status: 404, method: 'POST', url: 'https://discord.com/api/v10/interactions/1011210827984023572/aW50ZXJhY3Rpb246MTAxMTIxMDgyNzk4NDAyMzU3MjpmQVF0RUNvVllhODVyR1NOdThjRUdpaUdGY1pnZTdKdXlFTmNLMXB6ZXNzWXRwWlJVUG5nTnV4c091dHRtc3oyMXAyTmNrRmpwTmFUT3l4Zml3c0VWT0YwOW1MUTNIeWpBSXVKZ1BPV3l6dWZlZVRoNGxqMGtjN1NuSGxEeXg2ag/callback', requestBody: { files: undefined, json: { type: 5, data: [Object] } } } Promise {