Skip to content

Commit

Permalink
Set bot to "idle", since it will never reply...
Browse files Browse the repository at this point in the history
  • Loading branch information
freiheit committed Nov 6, 2016
1 parent 028d502 commit 0fa6906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feed2discord.py
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ def background_check_feed(feed,asyncioloop):
def on_ready():
logger.info("Logged in as %r (%r)" % (client.user.name, client.user.id))
gameplayed = MAIN.get("gameplayed", "github/freiheit/discord_rss_bot")
yield from client.change_presence(game=discord.Game(name=gameplayed))
yield from client.change_presence(game=discord.Game(name=gameplayed),status=discord.Status.idle)
avatar_file_name = MAIN.get("avatarfile")
if avatar_file_name:
with open(avatar_file_name, "rb") as f:
Expand Down

0 comments on commit 0fa6906

Please sign in to comment.