Changed logfile to bot.log and added it to gitignore.
This commit is contained in:
parent
5a2743f875
commit
7a43266291
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -234,6 +234,7 @@ fabric.properties
|
||||||
botdev/
|
botdev/
|
||||||
bot.ini
|
bot.ini
|
||||||
pybot-f.log
|
pybot-f.log
|
||||||
|
bot.log
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ from discord.ext import commands
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
# Logging
|
# Logging
|
||||||
loghandler = logging.FileHandler(filename='pybot-f.log', encoding='utf-8', mode='w')
|
loghandler = logging.FileHandler(filename='bot.log', encoding='utf-8', mode='w')
|
||||||
|
|
||||||
# The bots' description
|
# The bots' description
|
||||||
description = '''Testing this bot stuff :)'''
|
description = '''Testing this bot stuff :)'''
|
||||||
|
|
Loading…
Add table
Reference in a new issue