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('TitanBot')
|
||||||
logging.getLogger('sqlalchemy')
|
logging.getLogger('sqlalchemy')
|
||||||
|
|
||||||
bot = commands.Bot(command_prefix=config['command-prefix'])
|
def initFirst(self):
|
||||||
self.aiosession = aiohttp.ClientSession(loop=self.loop)
|
self.bot = commands.Bot(command_prefix=config['command-prefix'])
|
||||||
self.http.user_agent += ' TitanEmbeds-Bot'
|
self.aiosession = aiohttp.ClientSession(loop=self.loop)
|
||||||
self.database = DatabaseInterface(self)
|
self.http.user_agent += ' TitanEmbeds-Bot'
|
||||||
|
self.database = DatabaseInterface(self)
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user