working example
This commit is contained in:
parent
766859a53a
commit
9889574f33
1 changed files with 31 additions and 2 deletions
33
bot.py
33
bot.py
|
@ -51,6 +51,34 @@ def is_gm():
|
|||
return commands.check(predicate)
|
||||
|
||||
emojinumbers = ["0\u20E3", "1\u20E3" , "2\u20E3" , "3\u20E3" , "4\u20E3" , "5\u20E3" , "6\u20E3" , "7\u20E3" , "8\u20E3" , "9\u20E3"]
|
||||
alphabet = {
|
||||
"a" : "🇦",
|
||||
"b" : "🇧",
|
||||
"c" : "🇨",
|
||||
"d" : "🇩",
|
||||
"e" : "🇪",
|
||||
"f" : "🇫",
|
||||
"g" : "🇬",
|
||||
"h" : "🇭",
|
||||
"i" : "🇮",
|
||||
"j" : "🇯",
|
||||
"k" : "🇰",
|
||||
"l" : "🇱",
|
||||
"m" : "🇲",
|
||||
"n" : "🇳",
|
||||
"o" : "🇴",
|
||||
"p" : "🇵",
|
||||
"q" : "🇶",
|
||||
"r" : "🇷",
|
||||
"s" : "🇸",
|
||||
"t" : "🇹",
|
||||
"u" : "🇺",
|
||||
"v" : "🇻",
|
||||
"w" : "🇼",
|
||||
"x" : "🇽",
|
||||
"y" : "🇾",
|
||||
"z" : "🇿",
|
||||
}
|
||||
|
||||
bot.help_command = commands.DefaultHelpCommand(dm_help=False, no_category="Befehle die du nutzen kannst")
|
||||
|
||||
|
@ -153,8 +181,9 @@ async def gmroll(ctx,
|
|||
|
||||
@bot.message_command(name="Emoji Text", guild_ids=[261575556708040705])
|
||||
async def emoji_text(ctx, message: discord.Message):
|
||||
for x in emojinumbers:
|
||||
await message.add_reaction(x)
|
||||
emojitext = "shiba"
|
||||
for x in list(emojitext):
|
||||
await message.add_reaction(alphabet[x])
|
||||
|
||||
@bot.command(help="veraltet", usage="", hidden=True)
|
||||
@is_member()
|
||||
|
|
Loading…
Add table
Reference in a new issue