-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from catgirlclient/experimental
Officially oss this stupid bot
- Loading branch information
Showing
16 changed files
with
105 additions
and
214 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../LICENSE-AGPL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../LICENSE-AGPL |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../LICENSE-MIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,37 @@ | ||
# Nabi's Code of Conduct | ||
Nabi maintains a code of conduct to help facilitate the | ||
# Code of Conduct | ||
**Last Modified: 6/10/24** | ||
|
||
[Privacy Policy](../docs/PRIVACY_POLICY.md) - [Terms of Service](../docs/TERMS_OF_SERVICE.md) | ||
|
||
## Our Motivation | ||
Our plans are to foster a positive community that aids moderators, modders, and the average end-user and other | ||
like-minded individuals in their journey of keeping their communities healthy and prosperous. Due to these aforementioned | ||
reasons, we utilize and maintain a Code of Conduct to help facilitate those actions, and help blossom a beautiful community. | ||
|
||
## Our Pledge | ||
We pledge the following clauses for our services: | ||
|
||
* To provide services which are to be deemed free and available to all forms of users. | ||
* To foster a safe and friendly community for every group of people. | ||
* To continue and produce open sourced software for the end user. | ||
|
||
## Your Pledge | ||
You pledge to abide by the following clauses, and accept punishment if any of these clauses are broken: | ||
|
||
* To not discriminate any person for any particular reasons and/or action. | ||
* To not disrupt any operations of our services in any capacity. | ||
* To not utilize any sexual imagery or make any sexual advances. | ||
* To not harass any community members (privately or publicly). | ||
* To follow the respective Terms of Service wherever it be deemed necessary ([Discord's TOS](https://discord.com/terms) - [Nabi's TOS](../docs/TERMS_OF_SERVICE.md)) | ||
* To not maliciously attack any user there be it by software or by practice. | ||
* To use common sense. All pledges are implied unless otherwise stated by a member of the team. | ||
|
||
## Enforcement | ||
Breaking any of the aforementioned clauses in the section titled **"Your Pledges"** is unacceptable, and will result in | ||
swift punishment. We harbour a safe and friendly environment for all people regardless of race, color, and orientation. | ||
Due to this, staff/owners retain the right to punish you wherever it be deemed fit. Staff/owners also reserve the rights | ||
to decide the punishment associated with the broken pledge. In short, | ||
*Nabi and her respective staff have the right to punish/remove you if we deem fit.* | ||
|
||
Instances of this pledge may be reported to us wherever it be deemed fit, whether that be by direct messages, emails, | ||
or informing us in the necessary channels. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,58 @@ | ||
# Contributing | ||
Contributions are always welcomed by the Nabi team. | ||
Contributions are always welcomed by the Nabi team, as we strive to be both free and open source. | ||
|
||
## Building and Running Nabi | ||
> [!WARNING] | ||
> Nabi wasn't made for the intention of being self-hosted, as it's typically taylored for larger servers and higher load | ||
> operations. Due to this, you won't recieve support beyond this guide on how to set up Nabi and run her related services. | ||
Nabi requires the following dependencies: | ||
|
||
* Java 17 (Discord InteraKTions require it for webserver based interactions.) | ||
* Redis/Any Redis compatible in memory database (Required by [`subprojects/cache`](../subprojects/cache)) | ||
* PostgreSQL (Required by [`subprojects/database`](../subprojects/database), though you can swap this out.) | ||
* An HTTP server (*Optional*, although if you want other users to access Nabi's servers and websites, you'll need to specify this.) | ||
* An HTTP server (*Optional*, although if you want other users to access Nabi's servers and websites, you'll need to specify this. | ||
I personally recommend Caddy or Nginx for reverse proxying, but you could use anything related to the above.) | ||
|
||
Nabi also doesn't make usage of a ``.env`` file like other related bots. Instead, it processes information from a ``nabi-config.toml``. | ||
If you run the process without the file above, the environment will stop and create one for you. You **MUST** have the | ||
following in your file for the bot to run. | ||
|
||
```toml | ||
[discord] | ||
token = "discord_token" | ||
applicationId = "app_id" | ||
defaultGuildId = "default_guild_id" | ||
shards = 999 | ||
defaultPrefix = "?" | ||
ownerIds = ["your", "owner", "ids"] | ||
publicKey = "public_key" # This is only necessary if you want to have webserver interactions. | ||
port = 12212 # This is only necessary if you want to have webserver interactions. | ||
|
||
[database] | ||
addresses = "postgresql_address" | ||
username = "jdbc_username" | ||
password = "jdbc_password" | ||
port = 9203 | ||
|
||
[cache] | ||
addresses = ["cache", "addresses"] | ||
username = "redis_username" | ||
password = "redis_password" | ||
``` | ||
|
||
Once you've filled out the following, your bot should be running smoothly! Keep in mind that you may need to tinker more | ||
in order to fine tune Nabi for your specific needs, and that's okay, as Nabi was made to be flexible and diverse. | ||
|
||
## Contributing Guidelines | ||
If you are going to contribute, please note the following: | ||
|
||
* If there is an issue related to one of our libraries, please report it to the respective repository instead of making a | ||
workaround. This should only be used in a worst case scenario, and should not **EVER** be excercised. | ||
* We may only accept certain pull requests if it's beneficial to the Nabi ecosystem. | ||
* You should almost **NEVER** target the experimental branch when it comes to pull requests, as we intend on making breaking | ||
changes with this branch. | ||
|
||
## Important Contributors | ||
* yujin - Primary owner of Nabi and maintainer of all of her services. | ||
* my-name-is-jeff - Some idiot | ||
* [yujin](https://github.com/shuuyu) - Primary code maintianer and operator of Nabi. | ||
* [my-name-is-jeff](https://github.com/My-Name-Is-Jeff) - Some idiot who doesn't contribute |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
# Privacy Policy | ||
Nabi, if inside a server you're in, will collect your user/member information in order to speed up her processing of | ||
commands. Nabi and her developers promise to never sell your user information in any form, and will only cache | ||
necessary information. This information includes: | ||
Nabi, if inside a server you're in, will collect and store your Discord user/member information in order to speed | ||
up her processing of commands and other related processes. Nabi and her developers promise to never sell your user | ||
information in any form, and will only cache necessary information. This information includes: | ||
|
||
* Guild Information | ||
* Member Information | ||
* User Information | ||
* Message Information | ||
* Role Information | ||
|
||
Your information will, by default, be deleted after 30 days if it hasn't been used within that time frame. | ||
Your information will, by default, be deleted after 30 days if it hasn't been used within that time frame. If you ever | ||
decide to delete any user information, please contact us directly in order to remove any related information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.