1. Backup the following files to your PC:
./data/database.sqlite (If using SQLite), all configuration files, all addons, addon configs, and addon databases
2. Delete all of Corebot's files ⚠️ Except for files in the configs, data, and node_modules folder ⚠️
3. Upload & extract Corebot v4.5.4 to your server
4. Add back the following files to your server:
./data/database.sqlite (If using SQLite), all configuration files, all addons, addon configs, and addon databases
5. Open the config.yml, scroll all the way to the bottom, and change the bot version from "4.5.3" to "4.5.4"
6. Start the bot!
1. Backup the following files to your PC:
./data/database.sqlite (If using SQLite), All configuration files, All addons and addon configs
2. Delete all of Corebot's files ⚠️ Except for files in the configs, data, and node_modules folder ⚠️
3. Upload & extract Corebot v4.5.3 to your server
4. Add back the following files to your server:
./data/database.sqlite (If using SQLite), All configuration files, All addons and addon configs
5. Open the config.yml, scroll all the way to the bottom, and change the bot version from "4.5.2" to "4.5.3"
6. Start the bot!
1. Backup the following files to your PC:
./data/database.sqlite (If using SQLite), All configuration files, All addons and addon configs
2. Delete all of Corebot's files ⚠️ Except for files in the configs, data, or node_modules folder ⚠️
3. Upload & extract Corebot v4.5.2 to your server
4. Add back the following files to your server:
./data/database.sqlite (If using SQLite), All configuration files, All addons and addon configs
5. Add the new settings to the configuration files (More info below)
6. Start the bot!
Add ticketstats: true
to commands.yml -> Enabled
Add uptime: true
to commands.yml -> Enabled
Add the following to commands.yml -> Permissions
ticketstats:
- "@everyone"
Add the following to commands.yml -> Permissions
uptime:
- "@everyone"
Add ticketstats: "View your ticket message stats"
to commands.yml -> Descriptions
Add uptime: "View the uptime of the bot"
to commands.yml -> Descriptions
Add IgnoreBotsWhenDeleting
setting to config.yml -> TempChannels
TempChannels:
Enabled: true
VoiceChannel: "Temp Channel"
Category: "Temp Channels"
ChannelNameFormat: "{user-username}"
ChannelLockBypassRoles: []
DefaultBitrate: 64
IgnoreBotsWhenDeleting: true
Add Statuses
section to config.yml -> Suggestions
Suggestions:
Statuses:
Pending: Pending
Accepted: Accepted
Denied: Denied
Implemented: Implemented
Change the entire config.yml -> BugReports -> Emojis -> Denied
line to Denied: "❌"
Add Statuses
section to config.yml -> BugReports
BugReports:
Statuses:
Pending: Pending
Accepted: Accepted
Denied: Denied
Fixed: Fixed
Add OnBotMention
setting to config.yml -> Other
Other:
OnBotMention: "send-help"
# "send-help" "send-prefix" "send-EmbedName"
Change BotVersion
setting to 4.5.2
(all the way at the bottom of the config.yml)
# Do not change this unless told to do so by a Corebot staff member.
BotVersion: "4.5.2"
Add this to the bottom of your embeds.yml:
MAKE SURE TO UPDATE THE SPACING/TABBING AND ALLIGN IT WITH THE OTHER SETTINGS
Uptime:
Title: "Bot Uptime"
Description: "The bot has been online for **{uptime}**"
Timestamp: true
Footer: "Corebot"
FooterIcon: "{bot-pfp}"
TicketStats:
Author: "{user-displayname}"
AuthorIcon: "{user-pfp}"
Title: "Ticket Stats"
Fields:
- Name: "All Time"
Value: "> **Messages:** {all-msgs}\n> **Tickets:** {all-tickets}\n> **Closes:** {all-closes}"
- Name: "Past 30 Days"
Value: "> **Messages:** {month-msgs}\n> **Tickets:** {month-tickets}\n> **Closes:** {month-closes}"
- Name: "Past 7 Days"
Value: "> **Messages:** {week-msgs}\n> **Tickets:** {week-tickets}\n> **Closes:** {week-closes}"
- Name: "Past 24 Hours"
Value: "> **Messages:** {day-msgs}\n> **Tickets:** {day-tickets}\n> **Closes:** {day-closes}"
Timestamp: true
Change the PositionNoLongerExists section (lang.yml -> TicketModule -> Apply -> Embeds -> PositionNoLongerExists
) to:
PositionNoLongerExists:
Title: "Position"
Description: "The {position} position is no longer available! Please select a new position to apply for. **Available positions:** {positions}"
Change IdBan
to IDBan
(lang.yml -> ModerationModule -> Commands -> Bans -> List
)
Change the PermsUpdated section (lang.yml -> LogSystem -> ChannelUpdated -> PermsUpdated
) to:
PermsUpdated:
Author: "✏️ Channel Updated"
Description:
- "Permissions for {channel} updated:"
- "\n**→ added roles:** {roles}"
- "\n**→ removed roles:** {roles}"
- "\n**→ updated permissions for roles:**\n{roles}"
- "\n**→ time:** <t:{time}:f>"
RolePermsUpdated:
- "{role} - {changes}"
- "**allowed** ({perms})"
- "**denied** ({perms})"
- "**defaulted** ({perms})"
Change the RoleUpdated description (lang.yml -> LogSystem -> RoleUpdated -> Description
) to:
Description:
- "{role}: "
- "name updated\n**→ old:** {old}\n**→ new:** {new}"
- "color updated\n**→ old:** {old}\n**→ new:** {new}"
- "hoist setting updated\n**→ old:** {old}\n**→ new:** {new}"
- "mention setting updated\n**→ old:** {old}\n**→ new:** {new}"
- "permissions updated\n**→ added:** {added}"
- "permissions updated\n**→ removed:** {removed}"
- "permissions updated\n**→ added:** {added}\n**→ removed:** {removed}"
- "\n~~---------------------~~\n**→ time:** <t:{time}:f>"
Change the Time section (lang.yml -> Other -> Time
) to:
Time:
Day: "{days} day"
Days: "{days} days"
Hour: "{hours} hour"
Hours: "{hours} hours"
Minute: "{minutes} minute"
Minutes: "{minutes} minutes"
Second: "{seconds} second"
Seconds: "{seconds} seconds"
About: "About "
LessThan: "Less than "
And: "and"
day:
text: "day"
plural: "days"
abbreviated: "day"
abbreviatedPlural: "days"
hour:
text: "hour"
plural: "hours"
abbreviated: "hr"
abbreviatedPlural: "hrs"
minute:
text: "minute"
plural: "minutes"
abbreviated: "min"
abbreviatedPlural: "mins"
second:
text: "second"
plural: "seconds"
abbreviated: "sec"
abbreviatedPlural: "secs"
Add the following to the Other section:
Other:
SuggestionTooLong: "...\n**Full suggestion:** {paste}"
BugReportTooLong: "...\n**Full bug report:** {paste}"
Add the following to the Settings section:
Settings:
DefaultVolume: 5
1. Backup the following files to your PC:
./data/database.sqlite (If using SQLite), All configuration files, All addons and addon configs
2. Delete all of Corebot's files ⚠️ Except for files in the configs, data, or node_modules folder ⚠️
3. Upload & extract Corebot v4.5.1 to your server
4. Add back the following files to your server:
./data/database.sqlite (If using SQLite), All configuration files, All addons and addon configs
5. Add the new settings to the lang.yml (More info below)
6. Start the bot!
Change the CommandLogs (lang.yml -> LogsSystem -> CommandLogs
) settings to:
CommandLogs:
Author: "💻 Command Used"
Description: "{user} ran the `{prefix}{command}` command\n**→ message:** {message}\n**→ slash:** {slash}\n**→ successful:** {successful}\n**→ time:** <t:{time}:f>"
1. Stop your server
2. Update your Node.js version to v16
3. Backup all yours files to a safe location
In case anything goes wrong during this process, have a backup of all your files.
⚠️ Specifically any configuration and database files ⚠️
4. Delete all files ⚠️ Except for files in the logs, backups, or node_modules folder ⚠️
⚠️ Make sure you have a backup of your old database.sqlite (if you use SQLite) and configuration files
5. Upload Corebot v4.5 and extract it
6. Create a "data" folder (if one doesn't already exist) and move the "logs" and "backups" folders into the data folder
You should have the following files paths: "./data/logs/" and "./data/backups/"
Note: You only have to do this if you care to save your logs and backups
7. (If using SQLite) Upload your old database.sqlite file to the "data" folder
8. Configure the configuration files in the "configs" folder
Alternatively, you can attempt to update your config files (like transfer the new settings to your old configs), but we will not assist with this.
9. Give your bot permissions to create slash commands.
Here's the link to give the bot permission:
https://discord.com/api/oauth2/authorize?client_id=<BOT-ID-HERE>&permissions=8&scope=bot%20applications.commands
⚠️ REPLACE "<BOT-ID-HERE>" WITH YOUR BOT'S CLIENT/USER ID
6. Start the bot!
7. (If using music addons) Configure lavalink host settings
The new music addons use Lavalink to play music. Either create your own Lavalink server or use a public Lavalink server (Search google for "free lavalink servers"). You will then need to update the credentials in the music addon's config file.
1. Backup the following files to your PC:
database.sqlite (If using SQLite), All configuration files, All addons and addon configs
2. Delete all of Corebot's files ⚠️ Except for files in the logs, backups, or node_modules folder ⚠️
3. Upload Corebot v4.4.4 to your server
4. Add back the following files to your server:
database.sqlite (If using SQLIte), All configuration files, All addons and addon configs
5. Add the new settings to the config.yml, lang.yml, and commands.yml (More info below)
6. Start the bot!
Add MaxGamble setting to config.yml -> Coins -> Amounts
Coins:
Amounts:
PerMessage: 10
Daily: 1000
MaxGamble: 100000000000000000000000000000000000000000000
Add Daily and Work settings to config.yml -> Coins -> Multipliers -> Multiplies
Multipliers:
Enabled: false
Roles:
"VIP": 2
"MVP": 2.5
"MVP+": 3
Multiplies:
Daily: true
Work: true
PerMessage: true
Connect4: true
Tictactoe: true
Slots: true
Please make sure each line is tabbed properly! Otherwise you will have errors!
Change BotVersion setting to 4.4.4
BotVersion: "4.4.4"
Add MustGambleOneCoin and MaxCoinsGambled setting to lang.yml -> CoinModule -> Errors
Errors:
NotEnoughCoins: "You do not have the required amount of coins to do this"
MustGambleOneCoin: "You must gamble at least 1 coin"
MaxCoinsGambled: "The max amount of coins you can gamble is {max-amount}"
Add addon: true
to commands.yml -> Enabled
Add embed: true
to commands.yml -> Enabled
Add the following to commands.yml -> Permissions
addon:
- "Owner"
Add the following to commands.yml -> Permissions
embed:
- "Owner"
Add addon: "Manage your addons"
to commands.yml -> Descriptions
Add embed: "Test out an embed from the embeds.yml"
to commands.yml -> Descriptions
Set your ./commands/admin/snote.js
file to the contents of https://paste.corebot.dev/raw/cabapobale
1. Backup the following files to your PC:
database.sqlite (If using SQLite), All configuration files, All addons and addon configs
2. Delete all of Corebot's files ⚠️ Except for files in the logs, backups, or node_modules folder ⚠️
3. Upload Corebot v4.4.3 to your server
4. Add back the following files to your server:
database.sqlite (If using SQLIte), All configuration files, All addons and addon configs
5. Add the new settings to the embeds.yml and lang.yml (More info below)
6. Start the bot!
Change the RequrieReason
setting on line 274 to RequireReason
Before
RequrieReason: false
After
RequireReason: false
Add the following to line 588 in the config.yml. This should be in your logs config area, if line 588 isn't your logs config, just look for your logs config and add it below the Channels setting:
ChannelUpdateBlacklist:
- "Bots:"
- "Total Members:"
- "Channels:"
- "Status:"
- "Online:"
- "IP:"
- "Humans:"
1. Backup the following files to your PC:
database.sqlite (If using SQLite), All configuration files, All addons and addon configs
2. Delete all of Corebot's files ⚠️ Except for files in the logs, backups, and node_modules folder ⚠️
3. Upload Corebot v4.4.2 to your server
4. Add back the following files to your server:
database.sqlite (If using SQLIte), All configuration files, All addons and addon configs
5. Add the new settings to the embeds.yml and lang.yml (More info below)
6. Start the bot!
Red highlight = Old line
Green highlight = New line
The following notable changes were made to the embeds.yml:
Add this to the bottom of your embeds.yml:
DMWelcome:
Description: "Welcome to the server!"
The following changes were made to the lang.yml:
Add this between lines 935 and 936:
HigherRole:
- "You do not have permission to give roles above your highest role!"
- "I can only give roles below my highest role!"
Add this between lines 964 and 965:
HigherRole:
- "You do not have permission to take roles above your highest role!"
- "I can only take roles below my highest role!"
Replace line 1148 with this:
Title: "Connect 4 | GAME OVER"
Replace line 1170 with this:
Title: "Tic-Tac-Toe | GAME OVER"