Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
Few things before release
Browse files Browse the repository at this point in the history
changed the help message
made logs "stack"
made the game message the help message
  • Loading branch information
RossSmyth committed Jun 18, 2016
1 parent ce1f02c commit 5341fee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tapir bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from collections import Counter

description = """
I am a bot written by <@149281074437029890> to provide tapirs! \n \nThis is a list of cogs along with their associated commands.
I am a bot written by treefroog to provide tapirs! \n \nThis is a list of cogs along with their associated commands:
"""

initial_extensions = [
Expand All @@ -26,7 +26,7 @@
discord_logger.setLevel(logging.CRITICAL)
log = logging.getLogger()
log.setLevel(logging.INFO)
handler = logging.FileHandler(filename='tapir-bot.log', encoding='utf-8', mode='w')
handler = logging.FileHandler(filename='tapir-bot.log', encoding='utf-8', mode='r+')
log.addHandler(handler)

help_attrs = dict(hidden=True, name='halp')
Expand All @@ -49,7 +49,7 @@ async def on_command_error(error, ctx):
@bot.event
async def on_ready():
"""what happens when tapir-bot connects to the discord api"""
await bot.change_status(game=discord.Game(name='Say <insert command here> for help!'))
await bot.change_status(game=discord.Game(name='Say `!halp` for help!'))
print('Logged in as:')
print('Username: ' + bot.user.name)
print('ID: ' + bot.user.id)
Expand Down

0 comments on commit 5341fee

Please sign in to comment.