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

Commit 5341fee

Browse files
committed
Few things before release
changed the help message made logs "stack" made the game message the help message
1 parent ce1f02c commit 5341fee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tapir bot.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from collections import Counter
1111

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

1616
initial_extensions = [
@@ -26,7 +26,7 @@
2626
discord_logger.setLevel(logging.CRITICAL)
2727
log = logging.getLogger()
2828
log.setLevel(logging.INFO)
29-
handler = logging.FileHandler(filename='tapir-bot.log', encoding='utf-8', mode='w')
29+
handler = logging.FileHandler(filename='tapir-bot.log', encoding='utf-8', mode='r+')
3030
log.addHandler(handler)
3131

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

0 commit comments

Comments
 (0)