Total topics here: 46
TIP :: You can use Ctrl + F (or Cmd + F on Mac) to search through this.
self.guild_detect = [336642139381301249] | |
self.channel_detect = [381963689470984203] | |
self.detect = [] | |
self.lol = [] | |
self.user_mes = [] | |
@commands.Cog.listener() | |
async def on_message(self, message): | |
if message.author.bot: | |
return |
Sparkly Changelog =====
This page keeps a detailed human friendly rendering of what's new and changed in specific versions for v2.1+.
If you want the be notified of any update, you can join my Support Server. --------
⭐ Star if this is helpful to you. source
Afrikaans - af |
Irish -ga |
Albanian - sq |
Italian - it |
Arabic - ar |
Japanese - ja |
Azerbaijani - az |
Kannada - kn |
Basque - eu |
Korean - ko |
Bengali - bn |
Latin - la |
Belarusian - be |
Latvian - lv |
Bulgarian - bg |
Lithuanian - lt |
Catalan - ca |
Macedonian - mk |
Malay - ms |
Maltese - mt |
Croatian - hr |
Norwegian - no |
Czech - cs |
Persian - fa |
Danish - da |
Polish - pl |
Dutch - nl |
Portuguese - pt |
English - en |
Romanian - ro |
"complete" as in it supports app and text commands and has some comments explaining the code. As you may have noticed, there are multiple files in this gist:
Text Cmmands Only Here
See here the complete check with support for app and text commands:
# for testing: | |
# import collections | |
# emoji = collections.namedtuple("emo", ["animated"])(False) | |
emoji = ... # some (Partial)Emoji object | |
guild = ... # some Guild object | |
emojis = guild.emojis | |
total = len(guild.emojis) | |
limit = guild.emoji_limit | |
animated = sum(1 for e in emojis if e.animated) |
This gist shows how to make the bot wait for a message or reaction after doing a command. This should not be copypasted.
Check the discord.py docs for a detailed explanation of how it all works internally and which kwargs it takes.
See here two commands, one waiting for any message in a channel and the other waiting for a reaction with a specific emoji.
The hyperlinks are either links to a gist or discord message in the discord.py server