-
How to do the "on member join" message? I tried it like this:
`@bot.event
async def on_member_join(ctx):
await ctx.send("Hello! Welcome to {server} {user}!")`
But it doesn't work....
-
Hi,
I have a message in a channel for which discord.py shows wrong number of mentions: there are only 2 mentions in `Message.mentions` but 3 mentions in `Message.raw_mentions` (this one is correct). …
-
When on_reaction_add() is called, this error is thrown:
`Ignoring exception in on_reaction_add
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/discord/client.py", …
-
I am in process of migrating my bot from 0.16 async version to 1.0.0 rewrite. I've been using a custom wrapper to send embeds along the text messages. I've noticed that rewrite has *embeds* parameter …
-
Hey im getting this issue when my bot joins the server. This is my Code:
`@client.event
async def on_server_join(server):
em = Embed(title='Invited', description='Text.', colour=discord.Color.g…
-
Code:
```python
@bot.event
async def on_message(message):
if message.author.bot:
return
if message.channel.is_private:
embed = discord.Embed(color=0x7daeff)
embed.add_field(name='By', …
ghost updated
6 years ago
-
so i made a command that jails people for a 1 minute.
to unjail someone i delete the channel.
i want to write some code that checks if the jail channels still exists but it gives me errors
```pytho…
-
Currently the bot's !s command gets overloaded if there are too many requests for !s. What if there are a few (4?) speaker bots that is controlled by GeBeO to play sounds according to requests. That w…
-
-
I'm writing a code that changes a role's colour in a rainbow sequence.
My code is as follows
`discord.Colour('#%02x%02x%02x' % (RGB[0],RGB[1],RGB[2]))`
I'm running through an HSV that has been co…