Fuck commit messages

This commit is contained in:
NikolajDanger
2022-07-25 14:44:45 +02:00
parent f838b4e62d
commit 971e66e1ec
6 changed files with 35 additions and 26 deletions

View File

@ -1,13 +1,13 @@
import random # Used in movieFunc
import datetime # Used in helloFunc
import urllib # Used in imageFunc
import random # Used in movie_func
import datetime # Used in hello_func
import urllib # Used in image_func
import ast
import imdb # Used in movieFunc
import discord # Used in movieFunc
import lxml # Used in imageFunc
import fandom # Used in findWikiPage
import d20 # Used in rollDice
import imdb # Used in movie_func
import discord # Used in movie_func
import lxml # Used in image_func
import fandom # Used in find_wiki_page
import d20 # Used in roll_dice
from .plex import Plex
from .nerd_shit import NerdShit
@ -93,7 +93,10 @@ class Other():
cam = random.choice(cams)
self.bot.log("Chose cam type "+cam)
if cam == "one":
search = f"img_{''.join([random.randint(0,9) for _ in range(4)])}"
search = "img_" + ''.join(
[str(random.randint(0,9)) for _ in range(4)]
)
elif cam == "two":
year = str(random.randint(2012,2016))
month = str(random.randint(1,12)).zfill(2)
@ -102,7 +105,9 @@ class Other():
elif cam == "three":
search = f"IMAG_{str(random.randint(1,500)).zfill(4)}"
elif cam == "four":
search = f"DSC_{''.join([random.randint(0,9) for _ in range(4)])}"
search = "DSC_" + ''.join(
[str(random.randint(0,9)) for _ in range(4)]
)
self.bot.log("Searching for "+search)