Skip to content

Commit

Permalink
Fixing up code
Browse files Browse the repository at this point in the history
  • Loading branch information
nottherealtar authored Nov 21, 2023
1 parent ac8b757 commit 1a61e81
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions coffeestatus/coffeestatus.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,4 @@ async def presence_updater(self):
else:
await self.bot.change_presence(
activity=discord.Activity(name=new_activity, type=_type), status=status
)

def random_activity(self, activities):
return activities[0] # You can customize the logic for selecting a random activity here


# Assuming ctx is available when needed
# ctx = YourContextObject()
# rndstatus_cog = RndStatus(ctx.bot)
# ctx.bot.add_cog(rndstatus_cog)
)

0 comments on commit 1a61e81

Please sign in to comment.