Oude comments, verdwaalde warnings, ongebruikte imports
This commit is contained in:
+1
-6
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user