🧹 Last bit of cleaning up before pushing

This commit is contained in:
NikolajDanger
2021-03-31 01:02:32 +02:00
parent b345720468
commit 6c1a1cf626
37 changed files with 125 additions and 118 deletions

View File

@ -1,4 +1,4 @@
import os, finnhub, platform, asyncio
import os, finnhub, platform, asyncio, discord
from discord.ext import commands
from discord_slash import SlashCommand
@ -26,9 +26,12 @@ class Gwendolyn(commands.Bot):
self.money = Money(self)
self.databaseFuncs = databaseFuncs(self)
super().__init__(command_prefix=" ", case_insensitive=True)
intents = discord.Intents.default()
intents.members = True
def log(self, messages, channel : str = "", level : int = 20):
super().__init__(command_prefix=" ", case_insensitive=True, intents = intents)
def log(self, messages, channel : str = "", level : int = 10):
logThis(messages, channel, level)