🧹 Last bit of cleaning up before pushing
This commit is contained in:
@ -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)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user