[25% OFF]⭐️COREBOT⭐️| #1 Discord Bot with 600+ Features | Eco | Music | Tickets | Giveaways | & More

Discord Bot [25% OFF]⭐️COREBOT⭐️| #1 Discord Bot with 600+ Features | Eco | Music | Tickets | Giveaways | & More 4.4.3

Corebot v4.4.3

Changelog:

- Added back the channel blacklist for the channel update event
- Added cheerio to the package.json
- Updated ytdl-core version
- Updated advanced say to use the formatting from https://robyul.chat/embed-creator
- Updated the utils.js errors to make them easier to read
- Fixed {prefix} variable not replacing in the help menus
- Fixed {user-tag} placeholder not replacing in ticket channel topics
- Fixed amount of times worked
- Fixed work cooldown not working with MySQL
- Fixed setup command
- Fixed Join DM Messages bug
- Fixed bug with gamestats command
- Fixed a typo in the config
- Fixed transferring ownership with temp channels
- Fixed message update log being sent when a link is posted
- Fixed rolemenu command not adding custom emojis
- Error handler will now send a different message in console if the error comes from an addon
- Fixed XP data being inserted twice into the database (for MySQL)
- Fixed minor bug with setstatus command
- Fixed apply command not working with MySQL
- Fixed minor bug with roleUpdate event
Corebot v4.4.2

Changelog:

- Fixed a bug with MySQL
- Fixed bugs with music addon
- Fixed staffhelp command
- Fixed help command
- Fixed messageDeleteBulk event logging to the wrong channel
- Fixed "TypeError: Cannot read property 'amountOfTimesWorked'" of undefined error
- Fixed -work info command not working when you have reached the highest tier in a job
- Fixed Doctor job spelling mistake
- Fixed the debug command
- Fixed admin commands not being loaded
- Fixed anti-advertisement bypass role bug
- Fixed XP set command typos
- Fixed emojiDeleted event typos
- Added field support to the advanced say command
- Fixed addon handler bug
- Fixed snote being disabled on start-up
- Removed node-opus
Bug Fixes:
- Fixed a bug with MySQL
- Fixed bugs with music addon
- Fixed staffhelp command
- Fixed help command
- Fixed messageDeleteBulk event logging to the wrong channel
- Fixed "TypeError: Cannot read property 'amountOfTimesWorked'" of undefined error
- Fixed -work info command not working when you have reached the highest tier in a job
- Fixed Doctor job spelling mistake
- Fixed the debug command
- Fixed admin commands not being loaded
- Fixed anti-advertisement bypass role bug
- Fixed XP set command typos
- Fixed emojiDeleted event typos
- Added field support to the advanced say command
- Fixed addon handler bug
- Fixed snote being disabled on start-up
- Removed node-opus
Corebot v4.4.0

NEW:

- Completely redone the config.yml to provide a much cleaner config with consistent setting names

- New Commands:
● Tic tac toe command
● Rockpaperscissors command
● Profile command
● Banlist command
● Tempchannel command
● React command
● Rename command
● Math command
● Givelevels command
● Takelevels command
● Accept command
● Deny command
● Gamestats command
● Snote command
● Setup command
● Debug command

- Updated Logging System
● Added emoji created, emoji deleted, emoji updated, role created, role deleted, and role updated logs
● messageDeleteBulk logs now support attachments
● messageDeleteBulk logs now support high amounts of messages being deleted

- New Configuration Files
● Added a commands.yml:
In this file you will be able to disable/enable commands (alternative to -commands), change the permissions of commands (You can now easily set multiple roles and even use user IDs), change the descriptions for commands (No longer in the lang.yml), and add/remove aliases on commands

● Added an embeds.yml:
All "Embed_Settings" in the config.yml has been moved to this file. All of the embeds now use the Utils.setupEmbed function which allows you to fully customize the embed

● Added a TLDs.yml:
This is a part of our Anti-Advertisement system update. Please read that part of the change-log for more information.

- Speed Improvements
● The categorized help menu is now much quicker
● Modified the code to events (Primarily the message and raw event) to run quicker
● Switched from SQLite3 to Better-SQLite3:
● - Much cleaner code
● - Less memory usage
● - Much faster, up to 25x faster in certain situations
● Improved start-up speed:
● - Bot startup is basically instant now (less than a second in most cases)
● - Instead of re-installing/auditing the node_modules on start-up, it will check if any are missing and install the missing modules (Unless you use the --no-install start-up flag)
● - Added --show-install-output start-up paramter to show output and errors from the module installs

- Improved Applications System
● Applications now support attachments for answers to questions
● Added applications to the database and application transcripts
● You can now close incomplete applications
● Added logs for when an application is accepted, denied, locked, unlocked, and closed

- Updated Temp Channels
● Added a temp channel manager command: This command will open a menu allowing you to manage your temp channel. The temp channel manager allows you to do the following actions: transfer ownership, make private, make public, change allowed users (if the channel is private), change max members, and change the channel's name

- Updated Anti-Advertisement System
● In simple terms, the anti-ad system no longer detects (character).(character), it now detects (characters).(TLD) or specific domains like discord.gg. In order to determine TLDs, we have added a TLDs.yml

- More Start-up Parameters
● Added --show-errors flag
● Added --clear-errors flag
● Added --show-install-output flag

- New Auto Announcements System
● This system lets you send messages to a channel at a set interval. You can choose the message to be an embed or normal text. The bot also checks if the last message was an auto announcement in order to prevent spamming

- Improved Lock and Unlock Commands
● Channels can no longer be continuously locked or unlocked (Using -lock then -lock again and again..), and channel permissions will go back to what they were before being locked when using -unlock (if they are still cached in the bot), instead of creating new channel overwrites.

- Improved Remindme Command
● Added “reminder” and “reminders” as aliases to the command
● Added -reminder list and -reminder cancel subcommands
● Updated the look of the reminder system

- Improved Work System
● Added -work jobinfo < job > subcommand to lists all the tiers of a certain job
● Added -work info subcommand which shows info based off your current job and your promotion status (If you can get a promotion & how far away you are from being promoted)
● Added more jobs to the default work config

- More Status Placeholders
● **New placeholders:** {total-online-users}, {total-online-humans}, {total-online-bots}, {bots}, {humans}
These placeholders also work in the status/activity cycling system

- Improved Bug Reports
● Bug reports now work like the suggestions system. You can change the status of a bug to denied, accepted, and fixed.

- Updated Auto Response System
● Added a "CantHave" setting for roles the user cannot have if they want to be responded to
● Added "MustHave" setting for roles the user must have if they want to be responded to
● Added a "DeleteResponse" setting to delete the response. This setting can be set to false or a number. The number will determine how long to wait before deleting the message

- Improved Backup Command
● Running `-backup` instead of -backup save or -backup restore will now open a menu for you to select if you want to restore data or save data.
● Server emojis are now saved and restored
● "Restructured" the command's code and made it cleaner

- Other Additions
● Added back configuration file reloading with the reload command
● Connect4 game now supports tie
● Added pages (5 items per page) to the shop command
● Added FilterUnknown setting to the leaderboards config to remove “Unknown” users from leaderboards
● Added the Minecraft server’s icon to the server command
● Added timers to the lang.yml (The "About x day(s) x hour(s)..." messages)
● Added an advanced say command action to create embeds with many properties. Example: `-say advanced title=Rules | description=Rules for the server | color=08ec31`
● Added more jobs to the default work config
● Added a thumbnail image question to the announce, update, and poll commands. You can now also say "here" or "default" when choosing where to post the embed. The update and poll embeds have also been added to the advanced embed config (embeds.yml)
● Added an "implemented" status to the suggestions systyem
● Added a proper error for incorrect tokens
● Added emojis to the serverinfo command
● Added "Delete" parameter to Auto Responses to delete the user's message
● Added "RemovePrevious" setting to level roles to remove the previous level roles from the user
● Added a setting to disable the application logs
● You can now control what data is kept when a user leaves (coins, exp, punishments, and roles)
● - If a user joins back and has roles stored in the database, those roles will be added back
● Connect4 and Tic-Tac-Toe wins, losses, and ties are now stored in the database
● Removed set command and added "setcoins", "setexp", and "setlevel" commands
● All give, take, and set commands now work with opposite arguments
● - For example, you can do `-givecoins <@user> <amount>` as well as `-givecoins <amount> <@user>`
● The bot will now shutdown if the Node JS version is lower than v12
● Added back the post updates by messaging in updates channel feature
● Added {position} variable to the application complete embed
● Utils.getTimeDifference now detects if the time is singular or plural
● Embed URLs can now be used in our advanced embed configs

CHANGED:
- Added youtube to default whitelisted websites for music
- A giveaway will be removed from the DB if the giveaway message was deleted (Prevents Unknown Message errors)
- Announce command will now delete pings a few seconds after posting
- The slots command will now tell you the number of coins gained or lost
- You will no longer get an error in console when you set the DM_Message setting to true instead of text
- Filter system now has a higher priority in the message event, so messages that contain a filtered word will no longer give the user coins or XP
- Role menus are no longer case sensitive and role menus will now work without the title prefix
- Errors are no longer logged to the console
- Updated many of the bot’s embeds to look much nice, and cleaner
- The work list embed is now much cleaner and will no longer show disabled requirements
- Shop Items are now displayed using embed fields
- Setstatus command is now the setactivity command
- Setstatus command will now be used to change the bot from online to offline, dnd, or idle
- Updated outdated/bad code in a few commands (Such as the filter, commands, and module command)
- Serverinfo command now filters out tickets and applications
- Moved botinfo command to management module
- Roleinfo command now lists out the permissions the role has instead of showing the bitfield/number
- The fields in the userinfo command are no longer inline
- Removed the up arrow image from the level command
- Changed {botPFP} placeholders to {bot-pfp}
- Moved chat logs up in the message event
● Messages flagged by the filter or anti advertisement system will now be logged to the chat log file
- Moved the code command to the management module
- Status anti-ad system no longer spams console if the logs channel is not found
- The missing roles and channels message will now be sent to console, instead of in the Discord server
- Management commands will bypass the missing roles and channels notification to allow you to reload the config, run the setup command, or disable certain modules/commands.
- The missing roles and channels notification will now tell you the config setting that is needing the role/channel
- You can no longer take or set coins/levels/XP to a negative amount
- The reset command can now be used to reset tables in the database (Deletes the table and re-creates it), instead of just resetting coins/XP
- Updated the content of the README file
- When using the code verification type, the bot will now delete all messages sent there unless they are running the verify command
- Other minor changes and improvements

FIXED:
- Fixed filter table not being created in SQLite
- Fixed the remindme command not recognizing the time frame
- Fixed auto-response not returning after sending the response
- Fixed accepted and denied suggestion channels
- Fixed setting coins to 0 when your not using -reset
- Fixed setting the giveaway time not working with capital letters
- Fixed ended giveaways still being edited
- Fixed role requirements for jobs
- Fixed issue with filter system:
● If a message contains a filtered word x amount of times, it will no longer send the filter message x amount of times. It will now only send it once.
- Fixed all `DiscordAPIError: Cannot send messages to this user` errors
- Fixed issue with verification system: Now checks for the verified role(s) instead of permission
- Fixed typo in the footer of the server command
- Fixed -help coins
- Fixed -help <invalid category> not responding with anything
- Fixed -commands connect4 disable
- Fixed the embed title on the role removed and role added logs
- Fixed Error: SQLITE_CONSTRAINT: UNIQUE constraint failed: prefixes.guild error
- Fixed auto responses not working without a Type setting
- Fixed missing channels and ticket closing issue
- Fixed invited by Unknown bug
- Fixed coinflip giving your 3x the amount gambled instead of 2x
- Other minor bug fixes
Corebot version 4.3.1 is now released!

https://corebot.dev/mcm https://corebot.dev/revenact

This version fixes various bugs that slipped through on version 4.3. Please update as soon as possible!

Changelog:
- Fixed db.update.setStatus method (Fix for status cycling)
- Fixed a few typos in the lang.yml
- Fixed -backup save
- Fixed ReferenceError: lang is not defined error with connect 4
- Fixed -server command
- Fixed closing application reason
- Fixed issues with suggestions
- Fixed a small issue with the history command
- Fixed multiple join roles
- Fixed reaction type verification system
- Fixed ticket created message not deleting
- Fixed the double <@ in the connect 4 game board
- Fixed ReactToOwnSuggestion setting
- Fixed reporting an issue allowing you to report a bot
- Fixed an issue with clear cmd not working
- Fixed a small issue with invite top
- Fixed {code} placeholder for verify command
- Fixed message edited anti-ad
- Fixed bug with msg command when sending a msg to someone with their ID
- Fixed failed requirements work msg
- Fixed RangeError [EMBED_FIELD_VALUE]: MessageEmbed field values may not be empty. error
- Fixed small bug with the key command
- Fixed the MySQL database type not working
- Decreased start-up time
- If a needed array/object is null, the bot will set it to an empty array or object (Automatic fix for Cannot convert undefined or null to object)
- The verify command no longer requires a commands channel
- Anti advertisement now has a higher priority in the message
- Changed MCuser command's image site
- messageDelete event now shows message attachments
- Updated better-sqlite3 version to fix bindings issue
Corebot Version 4.3

Corebot version 4.3 is officially released!

Because there have been so many changes and new features, I will not be posting the changelog directly in Discord. You can view the changelog here: https://docs.google.com/document/d/1Q9KBBEclq0iDFsT45nDGikKMyyuF66pfyrKEiEgWSco

Remember, your Node JS version must be updated to v12 or higher, and all files for previous versions of Corebot and addons will most likely not work. If you need to get the updated addons, please create a ticket.

Along with this update we are releasing the Music Addon (Already included in 4.3), Ultimate Music Addon, and Ultimate Tickets v1.1!

How To Update:
1.
If you are using SQLite, back up your database.sqlite file to your PC and make sure your bot is offline
2. Backup your config.yml and lang.yml to your PC.
3. Delete all of Corebot's files
4. Upload Corebot v4.3 to your server
5. If you don't want to reconfigure the entire config, you can run this command in our Discord Server for a handy dandy article on updating your configuration files: -wiki how to config
6. Configure the new config settings

If you have any issues, please create a ticket!
NEW:
- Added the "commands" command (Built in command enabler/disabler)
- Added a work coodown setting and job requirements
- Added {host}, {winners}, and {timer} variable to giveaway embed
- Added the "reset" command for coins and XP
- Added cmd line input to stop the bot
- Added the "gstop" command
- You can now get specific command info with the help command (ex: -help new)
- Added message.ticket
- Added Utils.DDHHMMSSfromMS
- Corebot will now auto install sqlite3 upon startup
- Added whois as an aliases for userinfo
- Added -greroll <message ID>
- Added -gstop <message ID>
- All commands now support folders for modules
- Msg command now supports multiple lines
- Giveaway winner's reactions are now removed from the database when they win
- You can now reroll all or a specific winner in a giveaway
- Verification system supports multiple verified roles now

CHANGED:
- Status advertisements now will only repeat notifications after 15 minutes
- Embed descriptions and fields automatically cut text so that no errors occur
- Corebot now ignores DiscordAPIError: Unknown Message (for console)
- You can no longer disable the management module or its commands
- Rolemenu now works with all the bot's custom emojis instead of just custom emojis in the same Discord server
- Giveaway commands now have their own module
- Removed the Command_Enabler from the config and most of the "Enabled:" settings
- You will now receive an error when slot chance values do not add up to 100
- Spacing will no longer effect specifying the emojis in the poll command
- Report command now uses Utils.ResolveUser (Pinging the user isn't required now)
- Added Apply command required role
- Updated activation messages
- You will no longer recieve an error with the commands folder does not exist
- The giveaway embed will now be edited to show the winners when it ends
- The google command now uses the encodeURIComponent instead of .replace
- The Command Handler now tells you which property is missing
- The channelUpdate event will no longer spam changes with server status and minecraft status addon channels
- The update and announce commands now ask what channel to send the message in and who to ping
- Wrong channel message only occurs if it's an actual command

FIXED:
- Fixed a bug with the help/staffhelp
- Fixed the tempban description
- Fixed suggestions channel not working with IDs when using the revivenode type
- Fixed minor setstatus bug
- Fixed a typo in the CommandHandler
- Fixed fields not showing up inline when inline is true
- Fixed MySQL experience issue
- Fixed invalid command message bug
- Fixed a bug with the invitetop command
- Fixed message filter system capitalization
- Fixed "Reduce of empty array with no initial value" error
- Fixed database error with modules
- Fixed a bug with -say
- Fixed commands/ticket creation channels
- Fixed backups
- Fixed a bug with the invites command
- Fixed the lock and unlock commands
- Fixed a bug allowing you to edit a message and put an ad in it
- Fixed EventHandler not logging errors
- Fixed accepting applications
- Fixed the greroll command. It now sends the winner message to the channel set in the setup process
- Fixed a typo in the display name logs
- Fixed a bug with sending updates by messaging in the channel
- Fixed a bug with permissions
- Fixed icons for author in embeds
- Fixed a bug allowing users to still join/leave a giveaway when it ended
- Fixed "Cannot read property 'channels' of undefined" error when the bot isn't in any guilds yet
- Fixed cooldowns

How to update
1. If you're using SQLite, back up your database.sqlite
2. Backup your config.yml
3. Download the update and upload it to where ever you host your bot
4. If you're using SQLite, add your database.sqlite to the bot files
5. Transfer your settings from your old config. This may take some time, so if you don't want to I recommend you do the following:
- Go to https://codebeautify.org/file-diff
- Download the 4.2.1 default config.yml, then open it, copy the config, and paste it into the left side of the code beautify website
- Get the 4.2.2 default config, then open it, copy the config, and paste it into the right side of the website
- Click the difference button
- Open your backed up 4.2.1 config.yml
- Compare the changes from the default 4.2.1 config and default 4.2.2 config, then copy and paste the changes into your 4.2.1 config
- Upload your 4.2.1 config with all the changes to where ever you host the bot
6. Configure the new config settings

You can find the update here:
https://revenact.io/resources/20-of...-115-features-xp-coins-tickets-giveaways.200/
https://www.mc-market.org/resources/8501/

Here is a link to the default 4.2.1 config if you need it: https://cdn.discordapp.com/attachments/689149002054369325/702984704374079528/4.2.1-config.yml
New

+ Language file
+ Command channels now how channel ID support
+ Accepted/Denied suggestion channels now work with IDs
+ Multiple channel support added for giveaways

Fixed

+ Fixed cointop and leveltop not showing from greatest to least
+ Fixed "Cannot read property 'inviter' of null" error
+ Fixed "ReferenceError: channel is not defined" error
+ Fixed multiple line support with the say command
+ Fixed status advertisement system
+ Fixed permissions updated log spam
+ Fixed "Reduce of empty array with no initial value" error
+ Work, slots, and daily commands now disable when the coin system is disabled
+ Fixed bug with gcreate command

Changed
+ Config default settings
+ MySQL now uses BIGINT instead of INTEGER for times
+ Embeds still using errorinfo preset have been switched to error preset
New
+ Added feature to set a suggestion back to undenied/unaccepted
+ Role menu works with custom emojis
+ Suggestions work with custom emojis
+ Added command use logs
+ Added an option to disable the invalid command message ("Did you mean to run the x command?")
+ Added an option to not allow people to react to their suggestion added
+ Added nickname change logs
+ Added channel created logs
+ Added channel deleted logs
+ Added an option in the set status command to remove the status
+ Added a feature to set the emojis in a poll
+ Added an option to set a custom description to the role menu
+ Added channel update logs
+ Added channel pin update logs
+ Added channel topic logs
+ Added feature to close applications
+ Added an option to not give coins when a user runs a command

Fixed
+ Fixed "ReferenceError: name is not defined" error
+ Fixed type in work command
+ Fixed bug with the categorized help menu
+ Fixed "embed.fields[2].value: Must be 1024 or fewer in length." error for message delete and bulk delete events
+ Fixed bug with reload command
+ Fixed bug with avatar command
+ Fixed total coins/XP for coin top and level top commands
+ Fixed giveaways
+ Fixed invites command
+ Fixed bug with pay command allowing you to send yourself money
+ Fixed error handler
+ Fixed bug with applications allowing you to spam the accept/deny button. Now you can only accept an application if the last message wasn't you accepting it already (and vice versa).
+ Fixed unknown user with no coins/xp showing up in cointop/leveltop
+ Fixed bug allowing you to pay the bot


+ Fixed bug allowing you to still gain coins and xp when the modules are disabled
+ Fixed give and take commands

Changed
+ Errors when running the clear command are a lot more specific now (If something goes wrong when trying to clear it won't just tell you "You can not delete messages older than 14 days." when that isn't the issue)
+ All confirmations that used text (yes/no) now use emojis (check/x)
+ Suggestions accepting/denying recoded
+ Role menu confirmations are now sent to DMs
+ Help/Staffhelp commands will no longer show modules that are disabled
+ Eval now automatically runs asynchronously
+ Improved channel creation proccess for applications
+ Changed transcript embed to now have the ticket creator in it
+ Commands now work with accidental double spaces
+ Lock and unlock will now change channel permissions all at once
+ With the createrole you will no longer have to restart the role creation process if you respond with something incorrect
Version 4.1.0

New
+ Added unblacklist command
+ Added status cycling
- Have the bot cycle through random or ordered statuses
+ You can now post updates by messaging in the updates channel
+ You can now post level ups in a certain channel
+ Tagging the bot now works as a prefix
+ Roles removed or added to a user will now be logged
+ Added pay command
+ Added Daily coins command
+ Added error handler
+ You can now cancel the giveaway setup proccess by saying cancel or stop
+ Added coinflip command
- Two ways to use coinflip: The normal way: -coinflip, or by guessing what it will land on which will either double the coins you've given or take them: -coinflip <heads/tails> <amount of coins>
+ Added rolldice command
+ Added status placeholders: {tickets} and {users}
+ Added reason for closing a ticket
- You can also enable an option to DM the reason to the user
+ Added work command
+ Added {inviter} variable for join messages
+ Added invalid command error
+ Added code command
Fixed
+ Fixed a bug with the invites command
+ The Unmute command will no longer work if the user isn't muted
+ Applications work with responses longer than 1024 now
+ Fixed "Invalid input for guild" error
+ Fixed a typo in an error when a role is not found
+ Fixed message bulk delete log error
+ Fixed timing format bug on gcreate
+ Fixed an error when trying to delete an emoji on a deleted message
+ And more
Changed
+ YML handler will now tell you the line number that's causing the issue
+ The bot will now tell you that you can't delete messages older than 14 days instead of throwing an error
+ Messages will no longer be flagged for advertisements if sent in a ticket
+ Level up embed updated
+ CustomConfig supports comments now
+ GCreate command recoded
+ The unverified role is no longer required
+ Eco module split into coins and exp

How to update
1.
If you're using SQLite, back up your database.sqlite
2. Backup your config.yml
3. Download the update from Revenact and upload it to where ever you host your bot
4. If you're using SQLite, add your database.sqlite to the bot files
5. Transfer your settings from your old config. This may take some time, so if you don't want to I recommend you do the following:
- Go to https://codebeautify.org/file-diff
- Download the 4.0.1 default config.yml, then open it, copy the config, and paste it into the left side of the code beautify website
- Get the 4.1 default config, then open it, copy the config, and paste it into the right side of the website
- Click the difference button
- Open your 4.0.1 config.yml
- Compare the changes from the default 4.0.1 config and default 4.1 config, then copy and paste the changes into your 4.0.1 config 6. Configure the new config settings