aboutsummaryrefslogtreecommitdiff
path: root/cogs/utils.py
diff options
context:
space:
mode:
authorMango0x45 <thomasvoss@live.com>2020-08-11 12:38:25 +0000
committerMango0x45 <thomasvoss@live.com>2020-08-11 12:38:25 +0000
commit85ce3053a69c5e62fe6775563b8a7fddba9c071e (patch)
tree6246239c2748dd39d570f045c82492e7e4ed7de5 /cogs/utils.py
parent483bd6fb989d0538ee5ebdc167977dbe3e351f97 (diff)
downloadsteve-bot-85ce3053a69c5e62fe6775563b8a7fddba9c071e.tar
steve-bot-85ce3053a69c5e62fe6775563b8a7fddba9c071e.tar.gz
steve-bot-85ce3053a69c5e62fe6775563b8a7fddba9c071e.tar.bz2
steve-bot-85ce3053a69c5e62fe6775563b8a7fddba9c071e.tar.lz
steve-bot-85ce3053a69c5e62fe6775563b8a7fddba9c071e.tar.xz
steve-bot-85ce3053a69c5e62fe6775563b8a7fddba9c071e.tar.zst
steve-bot-85ce3053a69c5e62fe6775563b8a7fddba9c071e.zip
Organized imports
Diffstat (limited to 'cogs/utils.py')
-rwxr-xr-xcogs/utils.py25
1 files changed, 12 insertions, 13 deletions
diff --git a/cogs/utils.py b/cogs/utils.py
index 7403110..2261edd 100755
--- a/cogs/utils.py
+++ b/cogs/utils.py
@@ -1,21 +1,20 @@
-from discord.ext import commands
-from discord.ext import tasks
-import discord
-import json
+import asyncio
import datetime
+import functools
+import json
+from datetime import timedelta
# forgot to import this and ended up looking mentally unstable
# troll literally pointed out atleast 4 things I did wrong in 3 lines of code
-from random import choice
-from random import randint
-from datetime import timedelta
-from selenium import webdriver
-from selenium.webdriver.chrome.options import Options
+from random import choice, randint
+
+import discord
+from discord.ext import commands, tasks
#from PIL.Image import core as Image
#import image as Image
-from PIL import Image
-from PIL import ImageFilter
-import functools
-import asyncio
+from PIL import Image, ImageFilter
+from selenium import webdriver
+from selenium.webdriver.chrome.options import Options
+
def set_viewport_size(driver, width, height):
window_size = driver.execute_script("""