-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sapphire Version 1 Completed #2
base: production
Are you sure you want to change the base?
Commits on Jul 24, 2021
-
added initial pass on punishments table
includes a userid, punishment end date, created date, and an optional expiration date Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e5abfe7 - Browse repository at this point
Copy the full SHA e5abfe7View commit details -
allowed endsAt to be null and userId to be a string
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c2a08c3 - Browse repository at this point
Copy the full SHA c2a08c3View commit details -
added PunishmentController to handle sending discord messages and upd…
…ating the punishment database table Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0fe64fd - Browse repository at this point
Copy the full SHA 0fe64fdView commit details -
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e62c0e3 - Browse repository at this point
Copy the full SHA e62c0e3View commit details -
added active flag, getAllActive() function, getAllLatest() function
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a68c54e - Browse repository at this point
Copy the full SHA a68c54eView commit details -
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c623719 - Browse repository at this point
Copy the full SHA c623719View commit details -
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e99d3c1 - Browse repository at this point
Copy the full SHA e99d3c1View commit details -
punishments now take place immediately instead of relying solely on s…
…ynchronization Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 44da7c3 - Browse repository at this point
Copy the full SHA 44da7c3View commit details
Commits on Aug 26, 2021
-
switched from Commando to Sapphire framework
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 400bacf - Browse repository at this point
Copy the full SHA 400bacfView commit details -
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b5e94e8 - Browse repository at this point
Copy the full SHA b5e94e8View commit details -
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dc07b7b - Browse repository at this point
Copy the full SHA dc07b7bView commit details -
Merge branch 'punshments' into sapphire
# Conflicts: # src/Bot.ts # src/config/bot.ts # src/controllers/PingController.ts # src/database/database.ts
Configuration menu - View commit details
-
Copy full SHA for dc382b7 - Browse repository at this point
Copy the full SHA dc382b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe07321 - Browse repository at this point
Copy the full SHA fe07321View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c8716f - Browse repository at this point
Copy the full SHA 8c8716fView commit details
Commits on Sep 3, 2021
-
upgraded to
@sapphire/framework@next
to utilize Discord 13Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 37ec200 - Browse repository at this point
Copy the full SHA 37ec200View commit details
Commits on Sep 9, 2021
-
first pass on changing how punishments work.
punishments will use a punishment table now that includes type (ban, mute, kick), length of punishment, and target type (role or user currently are the options) Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c5350fa - Browse repository at this point
Copy the full SHA c5350faView commit details -
added dryrun and muteRole configuration
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e81d3c2 - Browse repository at this point
Copy the full SHA e81d3c2View commit details -
added a clean script and attached it to the build process
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0e9736a - Browse repository at this point
Copy the full SHA 0e9736aView commit details -
removed standard punishments as they are redundant since we will be u…
…sing the user type Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e28638b - Browse repository at this point
Copy the full SHA e28638bView commit details
Commits on Sep 10, 2021
-
renamed punishments to punishment history
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a04679d - Browse repository at this point
Copy the full SHA a04679dView commit details -
added start of punishments table which will contain all types of puni…
…shments that the bot can give out Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for df2d5bd - Browse repository at this point
Copy the full SHA df2d5bdView commit details -
updated how errors are implemented
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6ab0f46 - Browse repository at this point
Copy the full SHA 6ab0f46View commit details -
updated how errors are implemented
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 825b0f8 - Browse repository at this point
Copy the full SHA 825b0f8View commit details -
refactored types and added a second unique index
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 40fdb0b - Browse repository at this point
Copy the full SHA 40fdb0bView commit details -
Start of command passed punishment management
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7f1b005 - Browse repository at this point
Copy the full SHA 7f1b005View commit details -
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2e13518 - Browse repository at this point
Copy the full SHA 2e13518View commit details -
Configuration menu - View commit details
-
Copy full SHA for 749795d - Browse repository at this point
Copy the full SHA 749795dView commit details -
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a45a04e - Browse repository at this point
Copy the full SHA a45a04eView commit details -
changed init and changed message
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7bce85f - Browse repository at this point
Copy the full SHA 7bce85fView commit details -
now fetches punishments from database and added isMonitoredUser funct…
…ion to check if the message author is a monitored user Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bd7e953 - Browse repository at this point
Copy the full SHA bd7e953View commit details -
renamed BlockedUsers to MonitoredUsers
changed updateLastMessage to insert or update Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2c6340f - Browse repository at this point
Copy the full SHA 2c6340fView commit details -
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c6b86f7 - Browse repository at this point
Copy the full SHA c6b86f7View commit details -
isMonitoredUser is now a promise, as it fetches the user to try to ge…
…t the most up-to-date roles Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 68f5872 - Browse repository at this point
Copy the full SHA 68f5872View commit details -
punishment commands now required administrator
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ccc27df - Browse repository at this point
Copy the full SHA ccc27dfView commit details -
Messages sent in both excludedChannels and notifyChannels, and comman…
…ds no longer extend the ping window Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 562b202 - Browse repository at this point
Copy the full SHA 562b202View commit details -
added synchronization after creating punishments
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0463ae7 - Browse repository at this point
Copy the full SHA 0463ae7View commit details
Commits on Sep 11, 2021
-
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2da4477 - Browse repository at this point
Copy the full SHA 2da4477View commit details -
added moderatorRoles to config
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7ef76fa - Browse repository at this point
Copy the full SHA 7ef76faView commit details -
added sentByAuthorizedUser function to compare roles against moderati…
…onRoles Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 334d266 - Browse repository at this point
Copy the full SHA 334d266View commit details -
will not execute for authorized users (moderators)
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a97ea05 - Browse repository at this point
Copy the full SHA a97ea05View commit details -
refactored isMonitoredUser(message) to isMonitoredMember(author) for …
…more generic use Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b7e7799 - Browse repository at this point
Copy the full SHA b7e7799View commit details -
punishment commands can only be executed by authorize users (moderators)
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8bd813d - Browse repository at this point
Copy the full SHA 8bd813dView commit details -
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a8e1c64 - Browse repository at this point
Copy the full SHA a8e1c64View commit details -
added parseUserOrRole function to parse a user or role into a discord…
… mention fixed minutesToReadable Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fa585c0 - Browse repository at this point
Copy the full SHA fa585c0View commit details -
removed null type from results
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0b28fbe - Browse repository at this point
Copy the full SHA 0b28fbeView commit details -
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 56ecc41 - Browse repository at this point
Copy the full SHA 56ecc41View commit details -
removed types and added getPunishmment function
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0853be8 - Browse repository at this point
Copy the full SHA 0853be8View commit details -
Configuration menu - View commit details
-
Copy full SHA for b336f03 - Browse repository at this point
Copy the full SHA b336f03View commit details -
added help, for, and list commands
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 83ab9c3 - Browse repository at this point
Copy the full SHA 83ab9c3View commit details -
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b80b44d - Browse repository at this point
Copy the full SHA b80b44dView commit details -
added ability to remove a punishment
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7c72506 - Browse repository at this point
Copy the full SHA 7c72506View commit details -
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 90d3ff8 - Browse repository at this point
Copy the full SHA 90d3ff8View commit details -
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cb0aa3e - Browse repository at this point
Copy the full SHA cb0aa3eView commit details -
punishments only sync when changed
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 18d9a30 - Browse repository at this point
Copy the full SHA 18d9a30View commit details -
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6ba6d66 - Browse repository at this point
Copy the full SHA 6ba6d66View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7e2060 - Browse repository at this point
Copy the full SHA c7e2060View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a309e4 - Browse repository at this point
Copy the full SHA 3a309e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b32d5b - Browse repository at this point
Copy the full SHA 1b32d5bView commit details -
Signed-off-by: Devin Mitchell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 79fe0a1 - Browse repository at this point
Copy the full SHA 79fe0a1View commit details
Commits on Oct 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 3f064c2 - Browse repository at this point
Copy the full SHA 3f064c2View commit details -
refactored to MessageCreate as Message is deprecated
Signed-off-by: Devin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3471c59 - Browse repository at this point
Copy the full SHA 3471c59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 515b584 - Browse repository at this point
Copy the full SHA 515b584View commit details -
reimplemented notification removal
Signed-off-by: Devin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1106d06 - Browse repository at this point
Copy the full SHA 1106d06View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f4470e - Browse repository at this point
Copy the full SHA 7f4470eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 74fb47c - Browse repository at this point
Copy the full SHA 74fb47cView commit details -
Signed-off-by: Devin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ae7d222 - Browse repository at this point
Copy the full SHA ae7d222View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a3019c - Browse repository at this point
Copy the full SHA 2a3019cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3235714 - Browse repository at this point
Copy the full SHA 3235714View commit details