Skip to content
Extraits de code Groupes Projets
Valider 1512f259 rédigé par TheSmallBlue's avatar TheSmallBlue
Parcourir les fichiers

Make it so that spaces don't matter

ONE guy asked for this, so yeah sure why not
parent de4b8f5e
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -62,7 +62,7 @@ async def on_ready(): ...@@ -62,7 +62,7 @@ async def on_ready():
async def on_message(message): async def on_message(message):
if message.author == client.user: if message.author == client.user:
return return
if "show me a kumiko" in message.content.lower(): if "showmeakumiko" in message.content.lower().replace(' ',''):
postnumber = random.randint(1,totalimgs) postnumber = random.randint(1,totalimgs)
await message.channel.send(embed = create_embed(posts[postnumber],authors[postnumber],posturls[postnumber])) await message.channel.send(embed = create_embed(posts[postnumber],authors[postnumber],posturls[postnumber]))
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter