mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
Merge pull request #24 from Re-Ignited-Development/feature/twitter-reporting
[Feature] Twitter tweet reporting system
This commit is contained in:
19 files changed
+263
-42
No files matched your search
@@ -4,6 +4,7 @@ TODO
|
||||
|
||||
## Production Server Installation
|
||||
|
||||
|
||||
### Configuration
|
||||
|
||||
This resource is highly configurable through the [config.json](./config.json). This JSON file holds configuration for the phone itself, for the apps running on it and peripheral information.
|
||||
@@ -25,12 +26,25 @@ Below is the list of configuration options:
|
||||
| twitter.generateProfileNameFromUsers | true | Whether or not the server should automtically generate a player's profile name from their user in the database |
|
||||
| twitter.allowEdtiableProfileName | true | Whether or not players can edit their profile name |
|
||||
| twitter.allowDeleteTweets | true | Whether or not players can delete their own tweets |
|
||||
| twitter.allowReportTweets | true | Whether or not players can report tweets. Optional discord integration. |
|
||||
| twitter.characterLimit | 240 | Limit on how many characters tweets can contain |
|
||||
| twitter.enableAvatars | true | Whether or not player's can select avatars for their twitter profile |
|
||||
| twitter.enableEmojis | true | Whether or not player's can use emojis in tweets |
|
||||
| twitter.enableImages | true | Whether or not player's can add images to tweets (external URLs) |
|
||||
| twitter.maxImages | 3 | The maximum amount of images allowed in a tweet |
|
||||
|
||||
### Discord
|
||||
|
||||
It is possible to perform discord integration with the phone. To configure discord add the following variables to your `server.cfg` file:
|
||||
|
||||
```
|
||||
set discord_bot_token "YOUR_DISCORD_BOT_TOKEN"
|
||||
set discord_channel_id "YOUR_DISCORD_CHANNEL_ID"
|
||||
```
|
||||
|
||||
Current discord integrations with the phone:
|
||||
|
||||
- Twitter: reporting tweets
|
||||
|
||||
|
||||
## Development
|
||||
|
||||
Reference in new issue
Block a user