mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2025-01-14 16:14:07 +01:00
Added commands I think
This commit is contained in:
parent
691625f6a8
commit
e0a042e9a5
@ -10,10 +10,11 @@ logging.basicConfig(filename='titanbot.log',level=logging.INFO,format='%(asctime
|
||||
logging.getLogger('TitanBot')
|
||||
logging.getLogger('sqlalchemy')
|
||||
|
||||
bot = commands.Bot(command_prefix=config['command-prefix'])
|
||||
self.aiosession = aiohttp.ClientSession(loop=self.loop)
|
||||
self.http.user_agent += ' TitanEmbeds-Bot'
|
||||
self.database = DatabaseInterface(self)
|
||||
def initFirst(self):
|
||||
self.bot = commands.Bot(command_prefix=config['command-prefix'])
|
||||
self.aiosession = aiohttp.ClientSession(loop=self.loop)
|
||||
self.http.user_agent += ' TitanEmbeds-Bot'
|
||||
self.database = DatabaseInterface(self)
|
||||
|
||||
def run(self):
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user