[NEW] - How to make an IMPERSONATE COMMAND for your discord bot! || Discord.js V14

Опубликовано: 05 Апрель 2023
на канале: MrJAwesome
1,730
23

This is how you can make an impersonate command for your discord bot!

!! IMPORTANT !! Put the following code under the initialization of the message variable- this will prevent people from pinging @everyone or @here with the command.
🡺 if (message.includes('@everyone') || message.includes('@here')) return await interaction.reply({ content: `You cannot mention everyone/here with this command`, ephemeral: true})

Want to become a member? Want access to pastebins? Join below!
🡺    / @mrjawesomeyt  

Get my Tutorial Bot in your servers:
🡺 https://discord.com/oauth2/authorize?...

Invite my bots!:
🡺 https://top.gg/bot/977594345756688384 (ESKI)

🡺 https://discord.com/api/oauth2/author... (SERVER MANAGER)

MongoDB Guide:
🡺    • [OLD] - MongoDB Connection GUIDE || D...  

Slash Command Package:
🡺    • How to code a discord bot - SLASH COM...  

Join my discord (HELP SERVER):
🡺   / discord  


Смотрите видео [NEW] - How to make an IMPERSONATE COMMAND for your discord bot! || Discord.js V14 онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал MrJAwesome 05 Апрель 2023. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 1,730 раз и оно понравилось 23 посетителям.