Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ungdev/ua-discord-backup
Script de réinitialisation du serveur public Discord
https://github.com/ungdev/ua-discord-backup
Last synced: 15 days ago
JSON representation
Script de réinitialisation du serveur public Discord
- Host: GitHub
- URL: https://github.com/ungdev/ua-discord-backup
- Owner: ungdev
- Created: 2024-07-19T22:46:00.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-19T23:09:27.000Z (4 months ago)
- Last Synced: 2024-07-20T03:10:28.801Z (4 months ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# UTT Arena Discord Bot Backup
## General Information
This is a script that manages the UTT Arena bot to reset the public Discord server for the competition between two editions.
It also create a backup file.## Setup
To run this project:
1. Install dependencies.
```
npm install
```
2. Create and complete the .env file with the contents from [.env.example](.env.example).
3. Run the [bot.js](bot.js) file with the following command
```
node --env-file=.env bot.js
```## Parameters
* --no-roles-deletion: to preserve the server from deleting the team's roles.
* --no-roles-removing: to preserve the server from removing the ephemeral roles of players and staff.
* --no-channels-cleaning: to preserve the server from deleting the team's channels and clearing the remaining tournament channels.
* --backup: to save all the information of the server in a .json file (Categories, Channels, Members, Roles, Emojis, Messages).