Commit graph

23 commits

Author SHA1 Message Date
Brazman 153015e875 esfgdegfs 2023-08-02 19:59:45 -05:00
Brazman ad327b8595 Attempt at double-gem/coal fix.
-Attempt to fix bug that allows for a message to be gemmed/coaled twice if done fast enough, by having it write the log for the pin earlier.
2023-04-13 16:47:55 -05:00
Brazman e9d7876620 Brimstone fix 2023-04-12 00:20:32 -05:00
Brazman bd9a5d8915 Merge branch 'master' of https://github.com/Brazmann/SuperMachoBot 2023-04-06 08:23:38 -05:00
Brazman 0c80cc9cc0 Merge branch 'master' of https://github.com/Brazmann/SuperMachoBot 2023-04-06 08:23:34 -05:00
Brazman 9d6bfacc71 Merge branch 'master' of https://github.com/Brazmann/SuperMachoBot 2023-04-06 08:22:02 -05:00
Brazman fae4dc0ec9 Removed code commentsDatabase/Gemboard Rewrite + Additions
-Rewrote backend to support seperate databases/configs for guilds.
-Added configuration file for gemboard to determine emote ids, amounts, etc.
-Added command for owner of guild to run to configure gemboard.
-Added new 'Turbo' pins, which create an additional special pin for messages which get a high amount of gem/coal reactions, with the amount required determined by config file.
-Added method to retrieve the relevant embed from a supplied Discord message.
-Solved the issue of retrieving proper links to tenor gif embeds, allowing pinned messages to embed the tenor gif posted. The solution was really stupid, too. Thanks Tenor.
-Rewrote pins to now also store the id of the user whom the pinned message was authored by.
-Added variant of CheckPinID for turbo pins.
-Made all economy commands reference once instance of Random() instead of creating their own instance every time.
-Condensed code in the Wheel command by using two arrays, instead of a switch statement.
-Removed old commented-out code from EconomyCommands and SlashCommands.
-Removed pointless usings in SlashCommands.
2023-04-06 08:21:53 -05:00
Brazman fc00374f7d Database/Gemboard Rewrite + Additions
-Rewrote backend to support seperate databases/configs for guilds.
-Added configuration file for gemboard to determine emote ids, amounts, etc.
-Added command for owner of guild to run to configure gemboard.
-Added new 'Turbo' pins, which create an additional special pin for messages which get a high amount of gem/coal reactions, with the amount required determined by config file.
-Added method to retrieve the relevant embed from a supplied Discord message.
-Solved the issue of retrieving proper links to tenor gif embeds, allowing pinned messages to embed the tenor gif posted. The solution was really stupid, too. Thanks Tenor.
-Rewrote pins to now also store the id of the user whom the pinned message was authored by.
-Added variant of CheckPinID for turbo pins.
-Made all economy commands reference once instance of Random() instead of creating their own instance every time.
-Condensed code in the Wheel command by using two arrays, instead of a switch statement.
-Removed old commented-out code from EconomyCommands and SlashCommands.
-Removed pointless usings in SlashCommands.
2023-04-06 08:17:21 -05:00
Brazman 193deba267 New economy 'Baltop' command and QOL.
- Added method for getting the entire list of economy entries from a given guild id.
- Added 'Baltop' command which lists the top 20 users in a guilds economy, ranked by most money.
- Improved 'Daily' command by having it show the remaining time until a user is able to claim their next daily.
2023-02-27 17:39:44 -06:00
Brazman 45b2402329 Betflip visual changes
- Changed betflip responses to superior looking embeds with extra information.
2023-02-25 21:51:06 -06:00
Brazman 03e12e87e4 Economy fixes
- Made balances bottom out at 0, making negative balances impossible.
- Fixed bug with users being able to gamble with money they don't have.
2023-02-16 14:29:02 -06:00
Brazman 4169712dff Added template for config file with a readme 2023-02-16 12:34:31 -06:00
Brazman c99e56f53b a 2023-02-16 12:31:41 -06:00
Brazman 3bbbf3d1e3 Got rid of local filepaths and unnecessary files 2023-02-16 12:31:25 -06:00
Brazman 24fff63160 Economy updates & gemboard 2023-02-16 12:20:08 -06:00
Brazman d698716cf4 Economy rewrite.
- Stored the economy database in .json instead of .csv
- Completely rewrote the basic economy setup
- Commented out all old economy code
2023-02-15 16:57:47 -06:00
Brazman 5bbf4a5806 gitignore update 2022-09-16 14:35:10 -05:00
Brazman db1595114b Merge branch 'master' of https://github.com/Brazmann/SuperMachoBot 2022-09-16 14:15:21 -05:00
Brazman e801902e8d Experiments and config added to gitignore 2022-09-16 14:15:09 -05:00
Brazman 5196ef13d5
Update README.md 2022-09-16 00:37:12 -05:00
Brazman cd6bf9bfff
Update README.md 2022-09-16 00:36:51 -05:00
Brazman f8b2065f56
Update README.md 2022-09-10 15:00:58 -05:00
Brazman 5da3b3de02 Initial Commit 2022-09-10 14:56:21 -05:00