this way
This commit is contained in:
1 parent
eb34dbdd3a
commit
3bf14022ab
1 file changed
+3
-2
@@ -78,11 +78,12 @@ async def d20(ctx):
|
|||||||
@bot.event
|
@bot.event
|
||||||
async def on_message(message):
|
async def on_message(message):
|
||||||
if bot.user.mentioned_in(message):
|
if bot.user.mentioned_in(message):
|
||||||
if response == discord.File:
|
|
||||||
await message.channel.send(response)
|
|
||||||
if random.randint(0, 10) == 5:
|
if random.randint(0, 10) == 5:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
response = await build_response()
|
response = await build_response()
|
||||||
|
if response == discord.File:
|
||||||
|
await message.channel.send(response)
|
||||||
if response.startswith("<https://"):
|
if response.startswith("<https://"):
|
||||||
pass
|
pass
|
||||||
if response.isupper():
|
if response.isupper():
|
||||||
|
|||||||
Reference in new issue
Block a user