skip to Main Content

Javascript – How can I solve the error in my python code?

I'm making a Discord bot with Python, the code is the following: embed = discord.Embed(title=f'Topic: {tema.capitalize()}', description='The word has ' + str(len(secretWord)) + ' letters', color=discord.Color.yellow()) msg = await interaction.response.send_message(embed=embed) await msg.add_reaction('regional_indicator_1:') It gives me the following error that I…

VIEW QUESTION

Javascript – Discord bot deletes every message

Is there any way that I can stop my Discord bot from deleting all messages? I only want to delete messages that include banned words. client.on('messageCreate', async message => { if (message.author.bot || !message.guildId) return; if (message.content.includes(badWords)) await message.reply("Not cool…

VIEW QUESTION
Back To Top
Search