Skip to content

Commit

Permalink
feat: add bot activity
Browse files Browse the repository at this point in the history
  • Loading branch information
Zero6992 committed Dec 14, 2022
1 parent 9019904 commit f221bc3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class aclient(discord.Client):
def __init__(self) -> None:
super().__init__(intents=discord.Intents.default())
self.tree = app_commands.CommandTree(self)
self.activity = discord.Activity(type=discord.ActivityType.watching, name="/chat | /private | /public | /reset")

async def on_ready(self) -> None:
await self.wait_until_ready()
Expand Down Expand Up @@ -145,4 +146,4 @@ async def reset(interaction: discord.Interaction):


TOKEN = config['discord_bot_token']
client.run(TOKEN)
client.run(TOKEN)

0 comments on commit f221bc3

Please sign in to comment.