Skip to content
Advertisement

Tag: discord.py

Getting error on discord bot discord.py for typing in role

I get this error on my bot when mentioning a role,here is the error, raise CommandInvokeError(exc) from exc discord.ext.commands.errors.CommandInvokeError: Command raised an exception: TypeError: unhashable type: ‘set’ my code: What’s meant to happen: Me:-war Bot:Are you sure Me:reacts Bot:Type in role Me:(role name) Bot:…. Answer is a set literal for a set containing a number. discord.py is using hashing under

Python discord bot using discord.py problem

I’m trying to make a discord bot using the module discord.py, but I’m running into an issue and I’m unable to fix it. What I’m trying to do is that when someone pings the bot, he answers his prefix, I got that working with : However none of the code after that works: , so I cannot use any commands

Discord.py – which way should I pick? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about programming within the scope defined in the help center. Closed 1 year ago. Improve this question Recently I’ve known that developers are able to code Discord.py bot in 2 ways (or even more): To code every command

Why is my cooldown sending even when there is no cooldown? discord.py

So I am attempting to create a cooldown for one of my commands. (The command) My issue is that the cooldown text is sent right after the message despite the command not being sent twice. (The command error event) Extra information you may need: (Opens json files for use) (Closes json files and saves them) (Imports) Example of the issue:

the embed do not send and i didint have errors

i dont have errors and the embed didint send Answer I would recommend you a better division to minimize the sources of errors. The best way is to define an embed. Have a look at the following code: Also pay attention to proper indentation, possibly too many spaces, etc. Maybe also have a look at the docs and how to

Advertisement