Skip to content

Commit

Permalink
README: update event table
Browse files Browse the repository at this point in the history
  • Loading branch information
eriknyquist committed Dec 6, 2022
1 parent af0ec42 commit a087657
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -329,14 +329,16 @@ with their expected arguments and a brief description:
* - DISCORD_MESSAGE_RECEIVED
- (message)
"message" is the discord.py message object (see https://discordpy.readthedocs.io/en/stable/api.html#discord.Message)
"message" is the discord.py message object (see
`discord.py docs <https://discordpy.readthedocs.io/en/stable/api.html#discord.Message>`_)
- Emitted whenever any discord message is received, either in a public channel
which the bot has access to, or in a DM with the bot.
* - DISCORD_BOT_MENTION
- (message, text_without_mention)
"message" is the discord.py message object (see https://discordpy.readthedocs.io/en/stable/api.html#discord.Message).
"message" is the discord.py message object (see
`discord.py docs <https://discordpy.readthedocs.io/en/stable/api.html#discord.Message>`_).
"text_without_mention" is the message text with the bot mention stripped out.
- Emitted whenever any discord message that starts with a mention of the bots
discord name is received, either in a public channel which the bot has access
Expand All @@ -346,7 +348,7 @@ with their expected arguments and a brief description:
- (member)
"member" is the discord.py User object of the member who joined
(see https://discordpy.readthedocs.io/en/stable/api.html#discord.User).
(see `discord.py docs <https://discordpy.readthedocs.io/en/stable/api.html#discord.User>`_).
- Emitted whenever a new user joins the discord server.
* - DISCORD_CONNECTED
Expand Down

0 comments on commit a087657

Please sign in to comment.