Rename PASTEBIN_ERRORS to PASTEBIN_TRACEBACKS

For clarity and because it sounds better.
This commit is contained in:
nyuszika7h 2015-02-27 17:59:37 +01:00
parent b804d95e57
commit 0d99297aee
2 changed files with 3 additions and 3 deletions

View File

@ -33,5 +33,5 @@ USE_UTC = True # if True, will use the UTC time, else the local time
# %Y is the year with century, %y is the year without, %m is the month, %d the day, %H hour, %M minute and %S seconds
TIMESTAMP_FORMAT = "[%Y-%m-%d %H:%M:%S{tzoffset}]"
# If enabled, when there's an error, the bot will post it to termbin.com and post the link to the channel.
PASTEBIN_ERRORS = True
# If enabled, when an exception is caught, the bot will post it to termbin.com and post the link to the channel.
PASTEBIN_TRACEBACKS = True

View File

@ -15,7 +15,7 @@ alog = logger(None)
def pastebin(s):
if not botconfig.PASTEBIN_ERRORS:
if not botconfig.PASTEBIN_TRACEBACK:
return
try: