mirror of
				https://github.com/TitanEmbeds/Titan.git
				synced 2025-11-03 23:37:09 +01:00 
			
		
		
		
	Added logging
This commit is contained in:
		@@ -4,6 +4,10 @@ import discord
 | 
				
			|||||||
import aiohttp
 | 
					import aiohttp
 | 
				
			||||||
import asyncio
 | 
					import asyncio
 | 
				
			||||||
import sys
 | 
					import sys
 | 
				
			||||||
 | 
					import logging
 | 
				
			||||||
 | 
					logging.basicConfig(filename='titanbot.log',level=logging.DEBUG,format='%(asctime)s %(message)s', datefmt='%m/%d/%Y %I:%M:%S %p')
 | 
				
			||||||
 | 
					logging.getLogger('TitanBot')
 | 
				
			||||||
 | 
					logging.getLogger('sqlalchemy')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class Titan(discord.Client):
 | 
					class Titan(discord.Client):
 | 
				
			||||||
    def __init__(self):
 | 
					    def __init__(self):
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user