Skip to content

Commit

Permalink
HOTFIX
Browse files Browse the repository at this point in the history
  • Loading branch information
chanomkaimuk committed Aug 15, 2023
2 parents 6bad4f4 + 659d968 commit f82b61e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
from presence import watching
from discord.ext import tasks

<<<<<<< HEAD
CHANGE_STATUS_INTERVAL_HOURS = 1
=======
CHANGE_STATUS_INTERVAL_HOURS = 2
>>>>>>> 659d968344c6f774d296612fdf309135de1be9b3


class TWPlaceClient(discord.Client):
Expand All @@ -16,7 +20,11 @@ def __init__(self, *args, **kwargs) -> None:
intents=intents, activity=movie_activity, *args, **kwargs
)

<<<<<<< HEAD
@tasks.loop(hours=CHANGE_STATUS_INTERVAL_HOURS)
=======
@tasks.loop(seconds=CHANGE_STATUS_INTERVAL_HOURS)
>>>>>>> 659d968344c6f774d296612fdf309135de1be9b3
async def set_watching_status(self):
movie_activity = watching.get_random_movie_as_activity()
await self.change_presence(
Expand Down

0 comments on commit f82b61e

Please sign in to comment.