Skip to content

Commit

Permalink
3.0 Update (#144)
Browse files Browse the repository at this point in the history
* Updated commands to use the lang utils

* forgot to save oops

* Added database system for member anniversary roles

* Added model for anniversary roles

* Updated service to use correct model

* Use correct config value

* Added config values for member Anniversary roles

* Updated procedure to take in a year

* Updated parse utils to catch invalid input

* Continued work on member anniversary role system

* Add lang embed for user not giving a year

* Add dummy mode to debug (#126)

* Create "dev" and "info" commands (#125)

* Create "dev" and "info" commands

* Dev command shows stats, memory sizes per server

* Show bot ID in dev command

* Show bot ID in dev command

* Sync lang functionality from template (#127)

* Update lang functionality from template

* Make prefix a REF

* Field orders

* Remove unused "limiter" package (#128)

* Fix imports (#129)

* Misc small updates from template (#130)

* Rename "Read Messages" to "View Channel"

* Array of error codes, shorten comments

* Combine if statement conditions, add comment

* Update template packages

* Disable message cache completely

* Cleanup launch.json

* Update MessageUtils from template

* Add log for when all shards have been spawned

* Update discord links

* Updated and added methods for new setup commands

* Removed message setup

* Updated setup commands

* Updated required setup to use lang system

* Updated logic for inline input in bday set

* Exit loop as soon as we find a timezone

* Updated trusted setup to use lang system

* Updated anniversary setup to use lang system

* Updated anniversary setup to use Lang system

* Updated clear and add to work well wil user specific messages

* Added values for anniversary utils

* Added utils for the anniversary service

* Started new celebration job

* Updated methods for birthday utils to improve accuracy

* Indexing

* "READ_MESSAGE_HISTORY" needed with "ADD_REACTIONS" (#131)

* Reactions require READ_MESSAGE_HISTORY

* READ_MESSAGE_HISTORY needed to ADD_REACTIONS

* Add docker, additional utils, template changes, misc (#132)

* Update packages

* Add docker

* Add gitbook.yaml

* Prettier ignore docs

* Update tsconfig

* Fix in order for build to succeed

* Lint fixes

* Require Node.js v15 or newer

* Add some missing utils

* Move isLeap() to TimeUtils

* Rename to SqlUtils

* Fix utils import

* Rename methods

* Use MathUtils to sum in shard methods

* Add PartialUtils

* Add @types/remove-markdown

* Better message for startupInProcess

* Log errors on reactions

* Temp

* Merge master into updates (#140)

* Auto-format

* Update to models and start of new models

* Refractored bday utils to celebration utils

* Installed packages

* Added code to get data needed for the celebration job in bulk

* Added method and model to convert the raw guild celebration data into a sorted model

* Simplifiy class

* Updated logic of isBirthday method

* Added models for the planned services

* Added methods to make filters cleaner

* Finish sorting to prepare for message service

* Removed unused Models

* Leap year dates are celebrated on march 1st now

* Refractored methods to calculate birthday times

* Added method to find birthday roles to remove

* Added calculations for role service

* Remove uneeded variables and imports

* Update method

* Added method to get the members year

* Added requireAllTrustedRoles to guildData

* Updated inputs

* Added implementation of the role service

* Use the filtered array

* Improve logic to prevent calculating things before we know we need them

* Added utils to make message service cleaner

* Implemented birthday messages with message service

* Made trusted check generic and use correct number of equals

* Added util to get the server age in years

* Implemented rough code for anniversaries

* Miscellaneous changes

* Call the services at the end of the celebration job

* Update message handler to split different member anniversary messages based on the anniversary year

* Removed old birthday system and added new (with some bad code... oops)

* Update config default for celebration job

* Use correct config values

* Update anniversary roles

* Clarification on global birthdays

* intintialize arrays

* Improve validation

* Generalize and rework message add command

* Improve validation on celebration job

* Updated message add command to work with lang system and fixed numerous bugs

* Improved and simplified message list commands

* Implemented user specific message improvements to list and fixed a bug with page jumping

* Updated reaction handler for list emote movement

* Removed separate command for user message list

* Continue implementing lang system throughout the project

* replace placeholder with user @ in user specific messages

* Split up settings and implemented lang system

* Implemented Lang system

* Added methods for differentiating before types and extracting settings

* Implemented lang system

* Display user mention for user specific messages in confirmation messages

* prevent out of bounds exception when checking for guild member

* Use lang system to give multi-lingual support to types

* Continued conversion to the lang system

* Add advanced settings embed

* Continued implementing the lang system

* Allow user with the  manage server permission flag to manage the bot

* Change labels to be more specific

* Updated subscription command to use lang system

* Subscription events now use the lang system

* Added more lang implementation, refractored some utils, and removed comma one lists of two users

* Removed and replaced unneeded method

* Various bug fixes

* Remove and replace unneeded util and converted to lang system

* Updated to lang system

* Get month names from lang

* Remove ununused variable

* Use lang system for canceled action message

* check birthday using lang

* Add and update doc links

* Get and value from lang file

* Added vote command

* Update help system and move it to the lang system

* Converted stats command to lang system even though I said I wasn't going to

* todo comments

* Only use one rusted role if guild doesn't have premim

* Added util method to get a list of valid trusted roles and fixed a bug where getting the mention setting didn't account for the message type

* Add methods to check if all roles in a list can be given a method to resolve all member anniversary roles

* implemented previously mentioned methods

* Use new utils

* Log for an invalid message type

* Reworked test command

* Added result messages for tests

* Re-Implemented test command

* A lot of auto formatting

* Use correct name format in test commands

* Added more permissions to default creation of channels

* Fixed wrong placeholder for years and fix bug where user doesn't have a nickname for name format to use

* Fixed various bugs with bday test

* Formatting

* replace prefix with reference

* Replace bot name with reference

* Convert to the lang system

* Allow for translation of subcommand names and most options

* get action type from lang file

* Added update command (probably too large)

* get from reference

* Added anniversaries to next command

* Heavily improved logic of calculating next member anniversary

* Switch to logic which is consistant with the  member anniversary calculations

* Various bug fixes and improvments

* Added command for listing member anniversaries

* Added command to view member anniversaries

* Added config option for the size of the member anniversary list

* Various Bug Fixes and improvements

* Implemented member anniversary list into paging system

* Added member anniversary role claim command

* Added sleep time after giving/taking role

* Added permission checking at the sub command level

* Added claim command

* Added clearer documentation

* Moved the test command to the lang system

* Default large bot sharding to false

* Ensure a role is found before accessing its guild id

* Remove wrong arg count check

* Update lang

* Update to lang file

* Prevent api calls where possible

* Formatting and update names

* Updated lang file

* Fix name of values being passed to lang system

* Formatting

* Declare an empty array to prevent undefined errors

* Fixed bugs with adding anniversary roles

* Fixed various bugs with claiming anniversary roles

* Update packages

* Updated Logging

* Fixed various bugs & Formatting

* Fixed bug causing placeholders to no be replaced

* Lint and format fixes (#142)

* Lint fixes

* Format fixes

* Remove unused "limiter" package (#143)

* Removed unneeded awaits from getting the mention string

* Update packages

* Updated packages

* When listing two things include and

* Simplified replacing placeholder and fixed some bugs

* Improve replacing placeholders for lang options or user id when displaying

* moment diff already returns a whole number

* Use name format in bday next command

* Added option to clear server's default timezone

* Fixed bugs

* Fix bug with applying timezone

* Fix lang

* Added anniversary help and misc

* Fixed setup args

* Fixed bug with moment timezone validation

* Require server timezone for anniversary system

* Grammar is hard

* Fix bug with timezone check

* Improve timezone validation

* Updated lang system and simplified update command

* Removed thumbnail to fit more text in horizontally

* Added setting value of number of trusted roles

* Possibly fix bug for celebrating a member's 0th anniversary

* Add config value for delays

* Added delays to send messages

* Apply config delays to services

* Apply delay to the mar claim command

* Remove outdated scripts

* Small changes to README

* Update README.md

* Update packages

* Update footers to include icons and add authors

* Fix issue with mentioning everyone

* Simplified logic

* Formatting

* Updated bug where it was using the wrong channel and changed the member aninversary message to only send the mention setting once

* Added support for getting all subscriptions

* Fix references

* All guilds are premium if payments are disabled

* Added back missing lang options

* Give icon placeholder value

* Fixed doc link

* Fixed lang reference

* Clarify the deafult timezone prompt

* Improved clarity when setting your birthday

* Fix emote references

* Improved logic for timezone setting

* Im prove logic and lang when suggesting timezones

* Fix logic in setting timezone.... again

* oops i did it again!

* Simply user prompts for setting a birthday

* Updated logic for replying and sending messages

* Expired prompts now use the reply feature and generic message

* Split message util methods for delay

* Try and combine member anniversary messages when possible to prevent sending mass amounts of messages

* Fix logic for calculating member years

* Updated logic for calculating messages

* Updated documentation links

* Update documentation links in README

* Fixed returning the mention string

* Fix logic for timezone setting

* Include type in test

* Fix logic for validating the mention string

* Update anniversary role arguments

* Bug fixes

* Lang updates

* Remove unneeded year check

* Fix years in bday test

* Fix lang reference

* Remove deprecated useEmbed reference

* Update packages

Co-authored-by: Kevin Novak <kevinmichaelnovak@gmail.com>
  • Loading branch information
scottbucher and KevinNovak authored Jul 11, 2021
1 parent b15b328 commit 0299978
Show file tree
Hide file tree
Showing 152 changed files with 12,557 additions and 6,197 deletions.
5 changes: 5 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.git
node_modules
npm-debug.log
dist
docs
1 change: 1 addition & 0 deletions .gitbook.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
root: ./docs/
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
dist
docs
39 changes: 32 additions & 7 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,49 @@
"version": "0.2.0",
"configurations": [
{
"name": "Start Dev",
"type": "node",
"request": "launch",
"name": "Start",
"protocol": "inspector",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/ts-node-dev",
"args": [
"--watch",
"src/**/*.ts,config/**/*.json,lang/**/*.json",
"${workspaceFolder}/src/start.ts"
],
"resolveSourceMapLocations": ["${workspaceFolder}/**", "!**/node_modules/**"],
"internalConsoleOptions": "openOnSessionStart",
"skipFiles": ["<node_internals>/**"],
"program": "${workspaceFolder}\\dist\\start.js",
"restart": true
},
{
"name": "Start",
"type": "node",
"request": "launch",
"protocol": "inspector",
"preLaunchTask": "tsc",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "node",
"program": "${workspaceFolder}\\dist\\start.js",
"resolveSourceMapLocations": ["${workspaceFolder}/**", "!**/node_modules/**"],
"internalConsoleOptions": "openOnSessionStart",
"resolveSourceMapLocations": ["${workspaceFolder}/**", "!**/node_modules/**"]
"skipFiles": ["<node_internals>/**"],
"restart": true
},
{
"name": "Start Shard",
"type": "node",
"request": "launch",
"name": "Start Shard",
"skipFiles": ["<node_internals>/**"],
"program": "${workspaceFolder}\\dist\\app.js",
"protocol": "inspector",
"preLaunchTask": "tsc",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "node",
"program": "${workspaceFolder}\\dist\\app.js",
"resolveSourceMapLocations": ["${workspaceFolder}/**", "!**/node_modules/**"],
"skipFiles": ["<node_internals>/**"],
"internalConsoleOptions": "openOnSessionStart",
"resolveSourceMapLocations": ["${workspaceFolder}/**", "!**/node_modules/**"]
"restart": true
}
]
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,14 @@
"chrono",
"customizability",
"datas",
"deletable",
"discordbotlist",
"discordlabs",
"filesize",
"isnt",
"ondiscord",
"parens",
"regexes",
"repos",
"respawn"
]
Expand Down
19 changes: 19 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM node:15

# Create app directory
WORKDIR /app

# Copy package.json and package-lock.json
COPY package*.json ./

# Install packages
RUN npm install

# Copy the app code
COPY . .

# Build the project
RUN npm run build

# Run the application
CMD [ "node", "dist/app.js" ]
127 changes: 51 additions & 76 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,67 @@
[![Discord Bots](https://top.gg/api/widget/status/656621136808902656.svg?noavatar=true)](https://top.gg/bot/656621136808902656)
[![License](https://img.shields.io/badge/license-No%20License-blue)](https://choosealicense.com/no-permission/)
[![Stars](https://img.shields.io/github/stars/scottbucher/BirthdayBot.svg)](https://github.com/scottbucher/BirthdayBot/stargazers)
[![Discord Shield](https://discordapp.com/api/guilds/660711235766976553/widget.png?style=shield)](https://discordapp.com/invite/9gUQFtz)
[![Discord Shield](https://discord.com/api/guilds/660711235766976553/widget.png?style=shield)](https://discord.com/invite/9gUQFtz)
[![Discord Bots](https://top.gg/api/widget/owner/656621136808902656.svg?noavatar=true)](https://top.gg/bot/656621136808902656)

**Discord Bot** - Celebrate birthdays with automatic birthday roles and announcements! Highly customizable and easy to use! Use `bday help` to get started!
## Important Note

**For the most detailed and up-to-date information and guide please visit the Official Birthday Bot Documentation [here!](https://birthdaybot.scottbucher.dev)**

**Discord Bot** - Celebrate birthdays and anniversaries (**NEW**) with configurable roles, messages and more! Highly customizable and easy to use! Use `bday help` to get started!

## [Click here to add Birthday Bot to your Discord server!](https://discord.com/api/oauth2/authorize?client_id=656621136808902656&permissions=268921936&scope=bot%20applications.commands)

[Join The Support Server](https://discord.gg/9gUQFtz) | [Donate with Paypal!](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=PE97AGAPRX35Q&currency_code=USD&source=url)

# Features:

## Free Features

- Each user can [set their birthday & time zone](https://birthdaybot.scottbucher.dev/setting-your-birthday) into the bot which stores that information into a database allowing the bot to know on what day and what time zone to celebrate the user's birthday
- Use the Anniversary System to celebrate the anniversary of when members first joined the server and when the server was created.
- Requires the [Default Timezone](https://birthdaybot.scottbucher.dev/faq-1/general#what-is-the-default-timezone-setting) Setting to be set
- Server owners have heavy control over how, when, and what Birthday Bot does in their Discord
- Customization of the [Celebration Messages](https://birthdaybot.scottbucher.dev/faq-1/custom-messages#what-are-the-different-types-of-custom-messages) (Message contents and design)
- There can be multiple custom messages, the bot will choose one random for each birthday/anniversary
- Customizable Birthday Role and/or Birthday/Anniversary Channels
- Custom Birthday/Anniversary Message Time
- Customizable [Trusted Role System](https://birthdaybot.scottbucher.dev/faq-1/birthday-system/trusted-system) (Birthday System Only) - Using this system server owners decide whose birthdays are celebrated in their Discord. Additionally, server owners can toggle whether the Trusted Role is only required to receive the Birthday Role or Birthday Message, or both.
- Ban specific users from having their birthday celebrated using the birthday blacklist
- All birthdays are stored Globally. This means if you have multiple Discord servers that you own or are in with Birthday Bot, your users will only have to input their birthday and time zone once.
- View upcoming birthdays/anniversaries.
- Clear your information from the database at any time.
- Near 24/7 up-time!

## [Premium Features](https://birthdaybot.scottbucher.dev/premium-features):

- Avoid having to vote to use some commands.
- Setup [Member Anniversary Roles](https://birthdaybot.scottbucher.dev/faq-1/member-anniversaries#what-are-anniversary-roles) to celebrate how long members have been in your discord
- For example, the **5-Year Veteran** role can be set to be given on a member's 5 Year anniversary in your discord.
- Setup Multiple [Trusted Roles](https://birthdaybot.scottbucher.dev/faq-1/birthday-system/trusted-system#do-i-need-to-set-up-the-trusted-role)
- Use the [**RequireAllTrustedRoles**](https://birthdaybot.scottbucher.dev/faq-1/birthday-system/trusted-system#what-is-the-require-all-trusted-role-setting) setting to decide if users need all trusted roles or just one to have their birthday celebrated.
- More control over the Custom Message(s).
- Up to **500** custom birthday messages (_vs_ **_3_** _for free_).
- Up to **500** custom member anniversary messages (_vs_ **_3_** _for free_).
- Up to **500** custom server anniversary messages (_vs_ **_1_** _for free_).
- Decide what [color each custom message](https://birthdaybot.scottbucher.dev/faq-1/custom-messages#what-is-a-message-embed-color) is (You can have a different color for each!)
- Decide which messages are [embedded](https://birthdaybot.scottbucher.dev/faq-1/custom-messages#what-is-a-message-embed-setting) (Color setting only applies to messages that are embedded)
- Set [user-specific custom messages](https://birthdaybot.scottbucher.dev/premium-features#user-specific-custom-messages)
- One custom message per user
- Unlimited user-specific messages per server
- Support Development!
- Since I started Birthday Bot I have maintained development and server cost completely out of my own expense, Birthday Bot Premium allows me to continue to maintain development as Birthday Bot continues to gain tens of thousands of servers each month.
- Subscriptions to Birthday Bot Premium go straight to server costs.

### Support & Troubleshooting

Birthday Bot is a part of the Arilyn Bot family and any support, questions or feedback are welcome in our support [Discord](https://discord.com/invite/9gUQFtz). Please visit our [FAQ](https://birthdaybot.scottbucher.dev/faq) and setup guide, as well as previous user questions before contacting staff, thanks!

**Example Birthday Announcement (Fully customizable):**

![Example Birthday Announcement](https://i.imgur.com/BZcEJ5j.png)

In your Discord server Birthday Bot will track your users' birthdays and using their time zone celebrate their birthday through its customizable birthday role and message. Even if you have a large discord, use Birthday Bots trusted-role system to only celebrate the users you want to avoid the spam of tracking everyone.
In your Discord server Birthday Bot will track your users' birthdays and using their time zone celebrate their birthday through its customizable birthday role and message. Even if you have a large discord, use Birthday Bots trusted-role system to only celebrate the users you want to avoid the spam of tracking everyone. Similar messages can also be setup to celebrate the anniversary of members joining your discord server and the anniversary of the server itself!

## Setting your birthday

Expand Down Expand Up @@ -50,7 +97,7 @@ Finally, the confirmation menu will appear.
Ensure this is the correct information, then confirm by clicking the checkmark.

Note: Each user only has a limited amount of Birthday Sets. These multiple sets are made to account for incorrect information input, time zone changes, etc.
Learn more [here](https://birthdaybot.scottbucher.dev/faq#how-many-times-can-i-set-my-birthday).
Learn more [here](https://birthdaybot.scottbucher.dev/faq-1/user#how-many-times-can-i-set-my-birthday).

![End](https://i.imgur.com/2F8u3Cw.png)

Expand All @@ -64,78 +111,6 @@ Simply click your location on the map and copy the name of the selected time zon

![Setting your time zone](https://i.imgur.com/ibPmjNs.png)

## Commands

The following are commands for BirthdayBot. To run a command, prefix the command with `bday`, for example, `bday help` or `@BirthdayBot help`.

### Utilities

- `premium` - View information about birthday bot premium.
- `subscribe` - Subscribe to birthday bot premium.
- `set` - Set your birthday.
- `purge` - Remove your birthday data.
- `next` - View the next birthday(s) in the server.
- `view [name]` - View your birthday or a user's birthday.
- `invite` - Invite Birthday Bot to a server.
- `support` - Join the support server.
- `map` - View the timezone map.

### Information

- `help` - Help with Birthday Bot
- `help setup` - Help for server setup.
- `help setup message` - Help for the birthday message settings.
- `help setup trusted` - Help for the trusted system.
- `settings` - View server's settings.

### Server Configuration (Admins only)

#### Required Settings

- `setup` - Interactive guide for server setup.
- `create <channel/role>` - Create the default birthday role/channel.
- `update <channel/role> <#channel/@role>` - Update the birthday role/channel.
- `clear <channel/role>` - Clear the birthday channel/role

#### Birthday Message Settings

- `setup message` - Interactive guide for message settings setup.
- `message list [page]` - List all custom birthday messages.
- `message add <message>` - Add a custom birthday message.
- `message remove <position>` - Remove a certain birthday message.
- `message clear` - Clear all custom birthday messages.
- `message time <0-23>` - Set the birthday message time.
- `message mention <role/group>` - Set the birthday message mention setting.
- `message embed <T/F>` - Should the birthday message be embedded.
- `message test <position> [user count]` - Test a birthday message.

#### Trusted System Settings

- `setup trusted` - Interactive guide for trusted system settings setup.
- `create trustedRole` - Create the default trusted role.
- `updated trustedRole <channel/role>` - Update the trusted role.
- `clear trustedRole` - Clear the trusted role.
- `trusted preventMsg <T/F>` - If trusted role is required for a birthday message.
- `trusted preventRole <T/F>` - If trusted role is required to get the birthday role.

#### Permission Settings

- `create birthdayMasterRole` - Create the default birthday master role.
- `updated birthdayMasterRole <channel/role>` - Update the birthday master role.
- `clear birthdayMasterRole` - Clear the trusted role.
- `blacklist add <User>` - Add a user to the birthday blacklist.
- `blacklist remove <User>` - Remove a user from the birthday blacklist.
- `blacklist clear` - Clear the birthday blacklist.
- `blacklist list` - View the birthday blacklist list.

### Premium Commands

- `premium` - View information about birthday bot premium.
- `message add <User> <Message>` - Add a user specific birthday message. User <Users> as the placeholder. Full example usage: bday message add @Scott Happy Birthday <Users>!
- `message remove <user/position>` - Remove a certain birthday message.
- `message remove <user/position>` - Remove a certain birthday message.
- `message color [color]` - Set the birthday message embed color.

## Help

For additional help join the support server [here](https://discord.gg/9gUQFtz).
Expand Down
68 changes: 57 additions & 11 deletions config/config.example.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@
"DIRECT_MESSAGES",
"DIRECT_MESSAGE_REACTIONS"
],
"partials": ["MESSAGE", "REACTION"],
"partials": [
"MESSAGE",
"REACTION"
],
"caches": {
"messages": {
"size": 0,
"lifetime": 0,
"sweepInterval": 1
"sweepInterval": 0
}
}
},
Expand All @@ -33,7 +36,10 @@
"secret": "00000000-0000-0000-0000-000000000000"
},
"support": {
"owners": ["478288246858711040", "212772875793334272"],
"owners": [
"478288246858711040",
"212772875793334272"
],
"server": "660711235766976553",
"role": "660746189419053057"
},
Expand All @@ -52,17 +58,27 @@
"schedule": "0 */5 * * * *",
"log": false
},
"postBirthdays": {
"postCelebrationJob": {
"schedule": "0 0 * * * *",
"log": false,
"interval": 0.6
}
},
"delays": {
"enabled": true,
"messages": 50,
"roles": 100
},
"experience": {
"promptExpireTime": 120,
"fastForwardAmount": "5",
"fastRewindAmount": "5",
"birthdayListSize": "30",
"memberAnniversaryListSize": "30",
"blacklistSize": "30",
"birthdayMessageListSize": "3"
"birthdayMessageListSize": "3",
"trustedRoleListSize": "10",
"memberAnniversaryRoleListSize": "10"
},
"colors": {
"default": "#4eefff",
Expand All @@ -74,9 +90,11 @@
"emotes": {
"confirm": "",
"deny": "",
"fastReverse": "",
"nextPage": "➡️",
"previousPage": "⬅️",
"jumpToPage": "↗️",
"previousPage": "⬅️",
"fastForward": "",
"create": "🔨",
"select": "🖱",
"birthday": "🎂",
Expand All @@ -93,13 +111,41 @@
},
"custom": ""
},
"stopCommands": ["stop", "cancel", "exit", "close", "quit"],
"stopCommands": [
"stop",
"cancel",
"exit",
"close",
"quit"
],
"validation": {
"message": {
"maxLength": 500,
"maxCount": {
"free": 10,
"paid": 500
"birthday": {
"free": 5,
"paid": 500
},
"memberAnniversary": {
"free": 5,
"paid": 500
},
"serverAnniversary": {
"free": 5,
"paid": 500
}
}
},
"trustedRoles": {
"maxCount": {
"free": 1,
"paid": 250
}
},
"memberAnniversaryRoles": {
"maxCount": {
"free": 0,
"paid": 250
}
},
"regions": [
Expand All @@ -119,7 +165,7 @@
"spawnDelay": 5,
"spawnTimeout": 300,
"serversPerShard": 1000,
"largeBotSharding": true
"largeBotSharding": false
},
"clustering": {
"enabled": false,
Expand Down Expand Up @@ -157,4 +203,4 @@
"token": "<TOKEN>",
"allowNewTransactions": true
}
}
}
Loading

0 comments on commit 0299978

Please sign in to comment.