Maakt een klein beetje schoon hier en daar
continuous-integration/drone/push Build is failing

Oude comments, verdwaalde warnings, ongebruikte imports
This commit is contained in:
2022-12-04 21:16:44 +01:00
parent 7c29180ca4
commit 39ec30a048
2 changed files with 10 additions and 50 deletions
+1 -6
View File
@@ -1,6 +1,6 @@
import asyncio
import discord
import sys, os
import os
import praw
import random
import re
@@ -13,7 +13,6 @@ class General(commands.Cog):
def __init__(self, bot):
self.bot = bot
self.voice_states = {}
self.muzak_url = 'https://hdcon-muzak.herokuapp.com'
self.r = praw.Reddit(
user_agent='StroopwafelBot',
@@ -23,9 +22,6 @@ class General(commands.Cog):
self.r.read_only = True
warnings.simplefilter("ignore")
def __check(self, ctx): #Todo: Is dit het porno kanaal?
return True
def get_emoji_embed(self, tag: str):
emoji = re.search(".*\<\:([A-z]*)\:(\d*)\>.*", tag)
embed = discord.Embed(title=emoji.group(1), type='photo')
@@ -33,7 +29,6 @@ class General(commands.Cog):
embed.set_image(url=hugemoji)
return embed
@commands.command()
@asyncio.coroutine
def huge(self, ctx, *, arg):