sgoudham
2d34fcbbf4
Updated commentary
...
Removed unnecessary action of defining new_roles_string again
4 years ago
sgoudham
250984bcb6
Updated commentary
4 years ago
sgoudham
254e2da8b0
Adding back check cause I'm dumb dumb
4 years ago
sgoudham
510cd38f46
Reformatting nickname embed
...
Got rid of unnecessary check
4 years ago
sgoudham
6829b3dcac
Not using elif
4 years ago
sgoudham
716c1da64a
Added logging for role additions/removed to members
4 years ago
sgoudham
af4a31a833
Error message is now an embed
4 years ago
sgoudham
4896c5cfbe
Made sure that the message that is sent for purge command is deleted and then the messages are purged
4 years ago
sgoudham
fe388d622a
Moved generate embed function into settings.py
4 years ago
sgoudham
d4c6580db5
Updated Commentary
4 years ago
sgoudham
176078e45d
Make sure that the channel permissions for the muted role are correct
4 years ago
sgoudham
46d6ad3474
Enabled read messages for muted role
...
Disabled read message history and send messages
Checking with every channel if the muted role has the permissions. If not, it overwrites with the permissions required
4 years ago
sgoudham
3b605a92fe
Doing all channels instead of just text
4 years ago
sgoudham
8a34da5511
Muted role now disables read perms in every single text channel
...
Added functionality to make sure that new channels have muted role overwrites
4 years ago
sgoudham
fe9a92106c
Removed lots of redundant code
4 years ago
sgoudham
b52975f329
Added daily waifu
...
Simplifyed more code
4 years ago
sgoudham
dd01f45c5a
Simplifying code
...
Added daily waifu command
4 years ago
sgoudham
f413be50b0
Not saving file to the directory anymore. Sending as a bytes object
4 years ago
sgoudham
25f1937593
Not saving file to the directory anymore. Sending as a bytes object
4 years ago
sgoudham
da5e9c8a89
Updated commentary
4 years ago
sgoudham
c7755d274b
Updated commentary
4 years ago
sgoudham
b1c7c20220
Added very scuffed text command
4 years ago
sgoudham
1886f6e0c8
Made sure that managed roles are kept for the user
4 years ago
sgoudham
1901b1da35
Added rolepersist group command description
4 years ago
sgoudham
389ed00282
Added role persist commands
...
Role persist can be displayed/enabled/disabled
4 years ago
sgoudham
5f7617319d
Reformatting role persist warning embed
4 years ago
sgoudham
046be93f9d
If user is already muted, send error message to prevent database from screwing up
4 years ago
sgoudham
9bf6529c37
Removed typo
4 years ago
sgoudham
2f2c8198ee
Removing ctx parameter for clearRoles()
4 years ago
sgoudham
08576fc9e7
Refactoring lots of code
...
Displaying roles from highest to lowest for user
4 years ago
sgoudham
3b287fa24a
Got rid of white space
4 years ago
sgoudham
e4a2afbada
Listing roles in highest to lowest order
...
Added top role field for serverinfo command
4 years ago
sgoudham
cb3cc825dc
Checking channel permissions instead of guild wide permissions as it is more accurate. Less chance for errors
4 years ago
sgoudham
a49a26730a
Still sending serverinfo command without ban members or manage guild permissions
4 years ago
sgoudham
454a7adb57
Trying different way of executing modmail
...
Not massive if statements anymore
4 years ago
sgoudham
6347c48204
Added anton images into the enso command
4 years ago
sgoudham
c6b93cf931
Made sure that all messages within the channel are stored in the file before getting deleted
4 years ago
sgoudham
7750c5092e
Reformatted modmail embed
...
Uploading file like bytes object instead of saving to the directory
4 years ago
sgoudham
7c282cb6ea
Reformatting embed
4 years ago
sgoudham
b5a8592a73
Got rid of typo in variable
4 years ago
sgoudham
9732c7cd77
Changed parameters to fully pass context
4 years ago
sgoudham
209ae19dc0
Fixed error in field
4 years ago
sgoudham
4dff56007f
If role persist is not enabled. Add warning into mute command
4 years ago
sgoudham
b3a3900b7e
Taking in multiple arguments with Waifus
4 years ago
sgoudham
30f7870afd
Less aggressive name matching
4 years ago
sgoudham
6bfef9f591
More aggressive name matching
4 years ago
sgoudham
c411d417fc
Send error if no waifu is found in the dict
4 years ago
sgoudham
66d4fa75bd
Made sure that forbidden error isn't thrown
4 years ago
sgoudham
bcdb5907a7
Cleaned up lots of code
...
Logging member bans and unbans
Repeating less code
4 years ago
sgoudham
3e1d6b4784
Checking member/channel in a single line
4 years ago
sgoudham
2c33c711d5
Added extra line break
4 years ago
sgoudham
5b855ff552
Implemented page count
4 years ago
sgoudham
c9466399e5
Not deleting embed after timeout, just clearing reactions
4 years ago
sgoudham
807c1ac838
Got rid of print data
4 years ago
sgoudham
45aeb38373
Got a simple paginated waifu embed system going on
...
Finally got search function working
4 years ago
sgoudham
544a0326a2
Identifying Husbando's from Waifu's
4 years ago
sgoudham
e9e95a4421
Changed direction of arrow for roles in serverinfo command
4 years ago
sgoudham
cf561b2899
Replaced text file waifu command with mywaifulist api
4 years ago
sgoudham
9eaec6da73
Moved prefix command into the help.py
4 years ago
sgoudham
5b36bd57e1
Added support server/invite link and current guild prefix within the about command
4 years ago
sgoudham
7ba6de16ec
Updated Commentary
...
Members now only need manage guild permissions in order to setup modmail
Turning all messages into embeds
Refactored Code
4 years ago
sgoudham
5b849d77a7
Updated Commentary
...
Members now only need manage guild permissions in order to setup modmail
4 years ago
sgoudham
5edea99bff
Got rid of remindme command due it not being as advanced as I want it to be
4 years ago
sgoudham
8d8967552e
Made asset object return string
4 years ago
sgoudham
690af3f86e
Introducing avatar command
4 years ago
sgoudham
73b2fb5364
mmsetup now needs admin permissions
4 years ago
sgoudham
451a002fde
Added global counter to make sure every homies file is unique
4 years ago
sgoudham
c1f5e3a2fb
Reformatted embed
4 years ago
sgoudham
eb6eb5d7b8
Added/Updated Commentary
4 years ago
sgoudham
74f9c21ade
Got rid of redefining database pool twice
4 years ago
sgoudham
761f665f29
Changed paramater from "command" to "cmd"
4 years ago
sgoudham
29900e11a2
Moved help commands into help Cog
4 years ago
sgoudham
26ccb31bcc
Added feedback command
4 years ago
sgoudham
59d3cfbda8
Added help cog
4 years ago
sgoudham
521d743b8b
Reverting version number back
4 years ago
sgoudham
8f309de8c8
Made version in about command modular
4 years ago
sgoudham
39eda6231a
Changed Cooldown of Interactive Commands to 3 seconds
4 years ago
sgoudham
9d74182e7b
Not using new waifu system
4 years ago
sgoudham
ae487b4994
Added 15k Waifus
...
Loaded Waifus into Mem
Testing embed display
4 years ago
sgoudham
548d6348aa
Fixed Purge Command being off by 1
4 years ago
sgoudham
a4aa1bb5a0
Fixed Purge Command being off by 1
4 years ago
sgoudham
d1e1eb2fc8
DB Connection is now created within the same event loop as client
...
Referencing pool connection from client/self.bot
4 years ago
sgoudham
55e87b3fc3
DB Connection is now created within the same event loop as client
...
Referencing pool connection from client/self.bot
4 years ago
sgoudham
ec34fe0dd3
DB Connection is now created within the same event loop as client
...
Referencing pool connection from client/self.bot
4 years ago
sgoudham
150ac84689
DB Connection is now created within the same event loop as client
...
Referencing pool connection from client/self.bot
4 years ago
sgoudham
36bc135bba
DB Connection is now created within the same event loop as client
...
Referencing pool connection from client/self.bot
4 years ago
sgoudham
59c0e0f233
Added aliases
4 years ago
sgoudham
e1befcb730
Original message does not get deleted
4 years ago
sgoudham
ae31716729
Original message does not get deleted
4 years ago
sgoudham
2467b66050
6 commands per page within the cog
4 years ago
sgoudham
f4884fc840
Added usage for mute/unmute command
4 years ago
sgoudham
f2217cf150
Updated commentary
4 years ago
sgoudham
92fae125b9
Forgot to await function
4 years ago
sgoudham
319661ee96
Forgot "if not"
4 years ago
sgoudham
6d550d9c60
Made if statements cleaner (imo)
...
Tried to convert unban command into using def
4 years ago
sgoudham
189f75b3e1
Removing mention for banned user in embed
4 years ago
sgoudham
100b462323
Not including ctx.typing for everything
4 years ago
sgoudham
e794f0d7de
Changed small typo for unmuting modlog embed
4 years ago
sgoudham
3b332a4851
Made the bot type when muting/unmuting command
4 years ago
sgoudham
da65bf75e0
Made sure connection within connection isn't created
4 years ago
sgoudham
0788799ea5
Mute/Unmute commands have been added
...
Storing/Clearing roles in database
4 years ago
sgoudham
208ed9646b
More aesthetically pleasing region field for serverinfo command
4 years ago
sgoudham
93f7265f68
Added handling for more edge cases
4 years ago
sgoudham
51150e1a23
Implemented mute command
...
Still need to implement database integration and make an unmute command
4 years ago
sgoudham
9c3a8d31dd
Accidentally overloaded methods
4 years ago
sgoudham
753e27977d
Fixing small error within purge command
4 years ago
sgoudham
cbd8a2ad79
Got rid of on_member_unban as I am logging the event through the unban anyways
4 years ago
sgoudham
e9d8fc90a3
Moved modlogs over to guild.py
4 years ago
sgoudham
92cc9b3c45
Reverting back to F strings for increased readability
4 years ago
sgoudham
ced03ff969
Reverting back to F strings for increased readability
4 years ago
sgoudham
2ee2540d3f
Reverted permissions back to Administrator
4 years ago
sgoudham
458ce48f4a
Renaming modmail to guild.py
4 years ago
sgoudham
4a3bb4be61
Capitalizing words in the embed
4 years ago
sgoudham
4cd6959e48
Made error messages into embeds
4 years ago
sgoudham
31ef01d03a
Added embed colours to kick/ban
...
Added logging within the unban command
4 years ago
sgoudham
6c3f163cca
Added embed colours to kick/ban
4 years ago
sgoudham
e40cf0d9a0
Making it multiple integers
4 years ago
sgoudham
6f2e197b7b
Added custom type hint to unban command
4 years ago
sgoudham
5cb2e2c4af
Renamed variables for increased transparency
...
Added member unban event
4 years ago
sgoudham
da592bb139
Adding edge case for no emojis
4 years ago
sgoudham
bebe5130f4
Updating to 4 commands per page
4 years ago
sgoudham
e0418743a4
Added colour to confirmation embed
4 years ago
sgoudham
57c6bdd906
Confirmation of the ban/kick is sent everytime and if the modlogs channel exists within the cache, an embed is sent to the modlogs channel too
4 years ago
sgoudham
4d95a04668
Creating modmail channel with more permissions for Enso
4 years ago
sgoudham
1d1212c929
Creating modmail channel with more permissions for Enso
4 years ago
sgoudham
7cde09f9e3
Creating modmail channel with more permissions for Enso
4 years ago
sgoudham
bdfe859724
Creating modmail channel with more permissions for Enso
4 years ago
sgoudham
c1f1a32d65
Creating modmail channel with more permissions for Enso
4 years ago
sgoudham
f6672fd048
Testing what permissions the bot needs in order to function with the modmail system
4 years ago
sgoudham
d301e576ae
Error embed is now bold
4 years ago
sgoudham
b1a29448d9
Added error handling for when the user tries to ban/kick themselves
4 years ago
sgoudham
43cfdec91d
Added Commentary
4 years ago
sgoudham
c075b08ae1
Getting rid of unneeded whitespace
4 years ago
sgoudham
18cb7c8378
Reformatted error messages
4 years ago
sgoudham
d309dc6d70
Made ban command better (Multiple people can be banned at once)
...
Sending bans to logs if modlogs channel has been setup
Error messages don't disappear anymore and are now embedded
Updating Commentary
4 years ago
sgoudham
2166543eab
Added account creation date to member join event
4 years ago
sgoudham
b4f3946c5c
Updated Commentary
4 years ago
sgoudham
c81829ca31
Removing Husk
4 years ago
sgoudham
17e4975af9
Generating Hex Colour
4 years ago
sgoudham
a6d0935d7c
Got rid of with ctx.typing() as it wasn't needed
4 years ago
sgoudham
1f78b45cfe
Restructured code
4 years ago
sgoudham
49ba5f6174
On member joins are now sent to the modlog
4 years ago
sgoudham
ca9681c931
Imported cog from discord.ext.commands at the top
4 years ago
sgoudham
4e0535228b
Imported group/cog from discord.ext.commands at the top
4 years ago
sgoudham
0a419d0524
Imported group from discord.ext.commands at the top
4 years ago
sgoudham
7c36aca03d
Imported more modules at the top to make code look cleaner
4 years ago
sgoudham
3d480fe7e9
Imported more modules at the top to make code look cleaner
4 years ago
sgoudham
753911d94a
Imported more modules at the top to make code look cleaner
4 years ago
sgoudham
1300363ed4
Imported more modules at the top to make code look cleaner
4 years ago
sgoudham
b95aa16f9b
Imported more modules at the top to make code look cleaner
...
Reformatted some text within the rolemenu embed
4 years ago