sakobo/README.md

48 lines
1.9 KiB
Markdown
Raw Normal View History

2025-01-17 10:28:24 +01:00
# Nassiryot Government Bot (4th Era)
2025-07-10 12:37:40 +02:00
**⚠️ UNMANTAINED because the community in question dissolved, and development stopped. Keeping for the sake of history.**
2025-03-23 14:33:06 +01:00
This is the official bot for the [Nassiryot Social Republic](https://gov.yusurland.xyz).
2025-01-17 10:28:24 +01:00
For those who don't know, the Nassiryot Republic is a Virtual State, mainly active on Discord.
## Features
_TODO_
## Usage
### Installation
2025-08-19 17:00:01 +02:00
* Clone the repository: `git clone https://github.com/yusurko/NSYv4Bot.git`
2025-01-17 10:28:24 +01:00
* Install dependencies: `npm install`
### Running the bot
* Get your bot token from the [Discord Developer Portal](https://discord.com/developers/applications).
* Paste it in `.env`, on a new line, like `TOKEN=MTMy0URt0k3n_k3EPiT53CREt1.AAAAAA.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA`. `.gitignore` prevents your `.env` from being committed, so you can stay safe.
* Paste your client ID (i.e. your bot's user ID) into `.env` as well, on a separate line, such as `CLIENT_ID=1234567890166642069`.
* Register commands with `npm run register`. Please note this is needed only when the command list is updated. If you do it every single time you start the bot you may get rate limited.
* Start the bot with `npm start`.
2025-01-17 11:22:08 +01:00
### Running continuously
You can run the bot in the background, with the benefit of running it at startup and have it restart on errors, with tools such as `pm2`.
#### pm2
* `npm install -g pm2`
* `pm2 start npm -- start`
2025-01-17 10:28:24 +01:00
## License
2025-07-10 12:37:40 +02:00
Licensed under the [Apache License, Version 2.0](LICENSE), a non-copyleft free and open source license.
2025-01-17 10:28:24 +01:00
2025-07-10 12:37:40 +02:00
This is a hobby project, made available “AS IS”, with __no warranty__ express or implied.
2025-01-17 10:28:24 +01:00
2025-07-10 12:37:40 +02:00
I (sakuragasaki46) may NOT be held accountable for Your use of my code.
2025-03-23 14:33:06 +01:00
2025-07-10 12:37:40 +02:00
> It's pointless to file a lawsuit because you feel damaged, and it's only going to turn against you. What a waste of money you could have spent on a vacation or charity, or invested in stocks.
2025-03-23 14:33:06 +01:00
2025-01-17 10:28:24 +01:00