Skip to content

Commit

Permalink
feat(cogs.listener): add client activity
Browse files Browse the repository at this point in the history
  • Loading branch information
snakeblanket committed Jul 31, 2022
1 parent 4549ffa commit 175e771
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cogs/listener.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ def __init__(self, bot):
@commands.Cog.listener()
async def on_ready(self):
self.logger.info(f"🚥 {self.bot.user}이(가) 준비되었습니다.")
await self.bot.change_presence(
status=discord.Status.online,
activity=discord.Game(
name=f"/정보 | 🍽️ 오늘도 맛있는 하루!"
),
)

@commands.Cog.listener()
async def on_application_command(self, ctx):
Expand Down

0 comments on commit 175e771

Please sign in to comment.