aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby <[email protected]>2024-10-13 02:25:07 -0400
committerBobby <[email protected]>2024-10-13 02:25:07 -0400
commit835fb19f8d6a1ba582294683bcad159dc9bcd23d (patch)
tree38e81de5a228d3facdd09339e2f5d52d08ebe297
parent348c6b9acdd0328045b4854ff8495a3a9b5acc84 (diff)
downloadyugen-835fb19f8d6a1ba582294683bcad159dc9bcd23d.tar.xz
yugen-835fb19f8d6a1ba582294683bcad159dc9bcd23d.zip
added discord activity
-rw-r--r--watch/views.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/watch/views.py b/watch/views.py
index 95343f0..2b804f0 100644
--- a/watch/views.py
+++ b/watch/views.py
@@ -140,12 +140,12 @@ def update_episode_watch_time(request):
anime = int(anime)
episode = int(episode)
updated_history = update_anime_user_history(request.user, anime, episode, time_watched)
- update_discord_rpc(
- request.user,
- updated_history.anime_title_english,
- f"Episode {updated_history.episode} — {updated_history.episode_title}",
- time_watched
- )
+ # update_discord_rpc(
+ # request.user,
+ # updated_history.anime_title_english,
+ # f"Episode {updated_history.episode} — {updated_history.episode_title}",
+ # time_watched
+ # )
return JsonResponse({"status": "success"})
else: