a Gather mod which sets your status to your currently playing track on spotify
check out the websocket API docs for more!
prereq: have NodeJS and npm installed
run npm install
put your Gather API key, -spaceId, Spotify API credentials and -tokens in a file named api-key.ts
like so:
export const API_KEY = "your-api-key-here";
export const SPACE_ID = "gatherSpaceId\\gatherSpaceName";
export const CLIENT_ID = "your-spotify-client-id";
export const CLIENT_SECRET = "your-spotify-client-secret";
export const ACCESS_TOKEN = "your-very-long-spotify-token-here";
export const REFRESH_TOKEN = "your-very-long-spotify-refresh-token-here";
npm run start