mirror of
https://github.com/YuzuZensai/DiscordMobilePlayingCLI.git
synced 2026-01-06 04:33:07 +00:00
Update README.md
This commit is contained in:
28
README.md
28
README.md
@@ -1,16 +1,33 @@
|
||||
# DiscordMobilePlayingCLI
|
||||
|
||||
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, 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.
|
||||
|
||||

|
||||
|
||||
## 🌸 Commands
|
||||
|
||||
- ``set [BUNDLE_ID]`` Set application bundle id
|
||||
- ``start`` Start showing the presence
|
||||
- ``stop`` Stop showing the presence
|
||||
- ``update`` Update the current presences with new bundle id
|
||||
- ``exit`` Exit the application
|
||||
|
||||
## 🌏 API used
|
||||
|
||||
**POST /api/v6/presences**
|
||||
You do not need to authorize the Samsung Game Launcher OAuth to use this API
|
||||
|
||||
### POST /api/v6/presences
|
||||
|
||||
#### Headers
|
||||
|
||||
**Headers:**
|
||||
- ``Authorization`` Your discord account token
|
||||
|
||||
**Body (JSON):**
|
||||
#### Body (JSON)
|
||||
|
||||
- ``package_name`` Application bundle id on Google Play store
|
||||
- ``update`` **(START, UPDATE, STOP)** Status for the presences
|
||||
```
|
||||
|
||||
```json
|
||||
{
|
||||
"package_name": "com.YostarJP.BlueArchive",
|
||||
"update": "START"
|
||||
@@ -18,8 +35,9 @@
|
||||
```
|
||||
|
||||
## ⚠️ Disclaimer
|
||||
|
||||
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](https://discord.com/terms) & [Community Guidelines](https://discord.com/guidelines), and can result in an account termination if found. **I do not take any responsibility, liability, or anything that happend on your Discord Account.**
|
||||
Automating normal user accounts (generally called "self-bots") outside of the OAuth2/bot API is a **violation** of Discord [Terms Of service](https://discord.com/terms) & [Community Guidelines](https://discord.com/guidelines), and can result in account termination if found. **I do not take any responsibility, liability, or anything that happened on your Discord Account.**
|
||||
|
||||
Reference in New Issue
Block a user