Discord currently only supports game activity on a mobile platform using Samsung Game Launcher, which is only available on Samsung devices.
DiscordMobilePlayingCLI is only a PoC that game activities can be implemented on another platform like jailbroken iOS (iOS-DiscordPresence), or another kind of android distros by using the Discord API. Well, you can't do anything about the "Playing on Samsung Galaxy" for now.
- NodeJS
- Package manager npm/yarn or others
- Clone this repository
- Install dependencies with
yarn
for yarn, ornpm install
for npm - Run the script
yarn start
ornpm start
token
Your Discord account token
set [BUNDLE_ID]
Set application bundle idstart
Start showing the presencestop
Stop showing the presenceupdate
Update the current presences with new bundle idexit
Exit the application
You do not need to authorize the Samsung Game Launcher OAuth to use this API
Authorization
Your discord account token
package_name
Application bundle id on Google Play storeupdate
(START, UPDATE, STOP) Status for the presences
{
"package_name": "com.YostarJP.BlueArchive",
"update": "START"
}
DiscordMobilePlayingCLI utilizes API that is outside OAuth2/bot API scope.
/api/v6/presences
Automating normal user accounts (generally called "self-bots") outside of the OAuth2/bot API is a violation of Discord Terms Of service & Community Guidelines, and can result in account termination if found. I do not take any responsibility, liability, or anything that happened on your Discord Account.