Rebases classes on cog

This commit is contained in:
Mark Hoekveen
2020-04-02 01:17:56 +02:00
parent f984056c77
commit 4969d483ba
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import random
from datetime import datetime
import re
class Chatbot(object):
class Chatbot(commands.Cog):
"""Een heuse chatbot. Under construction..."""
def __init__(self, bot):
+1 -1
View File
@@ -7,7 +7,7 @@ import time
import random
import statistics
class Cryptocoin(object):
class Cryptocoin(commands.Cog):
"""Voor al uw crypto currency advies."""
def __init__(self, bot):
+1 -1
View File
@@ -9,7 +9,7 @@ from sympy import latex, symbols, preview, Symbol #for LaTeX images
import youtube_dl
import ffmpeg
class General(object):
class General(commands.Cog):
"""Overal toegestaan."""
def __init__(self, bot):
+1 -1
View File
@@ -7,7 +7,7 @@ import numpy as np
import random
from datetime import datetime
class Points(object):
class Points(commands.Cog):
"""Geef elkaar punten!"""
def __init__(self, bot):
+1 -1
View File
@@ -11,7 +11,7 @@ import sys
import os
import random
class Shitpost(object):
class Shitpost(commands.Cog):
"""Schijtpaal commando's. Alleen bruikbaar in de daarvoor toegewezen schijtpaal kanalen."""
def __init__(self, bot):
+1 -1
View File
@@ -10,7 +10,7 @@ import random
import time
from json.decoder import JSONDecodeError
class Spotify(object):
class Spotify(commands.Cog):
"""HD Con 2019 Playlist features! Alleen te gebruiken in het juiste kanaal"""
def __init__(self, bot):
self.bot = bot