Skip to content
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.

Commit

Permalink
test.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Gelbpunkt committed May 18, 2019
1 parent fbbc341 commit c7cca28
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 6 additions & 1 deletion classes/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@ async def confirm(self, message, timeout=20, user=None):
await msg.add_reaction(emoji)

def check(r, u):
return u == user and str(r.emoji) in emojis and r.message.id == msg.id and not u.bot
return (
u == user
and str(r.emoji) in emojis
and r.message.id == msg.id
and not u.bot
)

try:
reaction, _ = await self.bot.wait_for(
Expand Down
1 change: 0 additions & 1 deletion utils/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import io
import os
import random
from pathlib import Path

from discord.errors import NotFound
from PIL import Image, ImageDraw, ImageFont
Expand Down

0 comments on commit c7cca28

Please sign in to comment.