diff --git a/Chatbot.py b/Chatbot.py index 2d7b879..253e0de 100644 --- a/Chatbot.py +++ b/Chatbot.py @@ -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): diff --git a/Cryptocoin.py b/Cryptocoin.py index 4b8e4e8..ba66b56 100644 --- a/Cryptocoin.py +++ b/Cryptocoin.py @@ -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): diff --git a/General.py b/General.py index 88567bf..3f8f06d 100644 --- a/General.py +++ b/General.py @@ -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): diff --git a/Points.py b/Points.py index c4d8a42..0720c99 100644 --- a/Points.py +++ b/Points.py @@ -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): diff --git a/Shitpost.py b/Shitpost.py index bec2cf9..d252b57 100644 --- a/Shitpost.py +++ b/Shitpost.py @@ -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): diff --git a/Spotify.py b/Spotify.py index 5077104..2451d58 100644 --- a/Spotify.py +++ b/Spotify.py @@ -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