updates your slack status based on your discord rich presence using the data from the lanyard service
- join the lanyard discord server - this will expose your discord presence to a restful api which the bot will use to fetch your activity data
- create a new slack application and give it access to the
users.profile:write
scope - this will give the bot the permission to update your profile, which includes your status - the only changes you will need to make in the code are to the setup.py file:
- update the
USER_OAUTH_TOKEN
with your Bot User OAuth Token - this is given by Slack when you create a new application - update the
DISCORD_ID
field with your discord id (don't confuse this with your username, ) - update
emojis
with valid slack emoji ids (e.x.:smile:
) for all of the fields (default, code, music" or it will not work. right now it only supports those three but more will be added soon - update
default_status_message
with what you want your status to be when there are no activities in your discord presence - OPTIONAL: you can change
REFRESH_INTERVAL
to what you would like (in seconds)
- update the