-
In the last few days (as far as I know), my discord bot(s) on discord have stopped functioning as they had. Upon running `await client.send_message(channel, msg)`, the site has randomly started retur…
-
https://discordpy.readthedocs.io/en/rewrite/ext/commands/api.html#discord.ext.commands.has_role
-
The `on_message` function can sometimes be too long, so it would be great if there was a decorator that could route messages based on some sort of template.
Here is an example implementation of a d…
t94j0 updated
5 years ago
-
### Summary
I want to change the server name of one Server, but that not work's. After a look in the client.py I see that in change_server the name is not defined
### Reproduction Steps
#…
-
ghost updated
5 years ago
-
https://discordpy.readthedocs.io/en/rewrite/api.html?highlight=game#discord.Client.change_presence
Just need to change from string to object
-
https://discordpy.readthedocs.io/en/rewrite/api.html#discord.on_reaction_remove
The user parameter is explained as:
```user – A User or Member of the user who removed the reaction.```
However, …
-
```
async def clear(ctx, amount=100):
if isinstance(amount, str):
```
I want to check if amount is a str or float, but it errors out before it can do anything:
_raise BadArgument('Convertin…
-
Since we tell people how to use the bot on their server, a few things should be different
-Find all the direct mentions of server/channel IDs, upmartlet/downmartlet, roles (idoneam and Discord Modera…
-
I used the commands edit function (ctx.edit(content='NEWCONTENT')) but it says that CTX has no attribute of edit. How do I edit otherwise?