sgoudham
afe8e403b0
Fixed small typo that broke half the bot LMAO
4 years ago
sgoudham
02d6f798b5
Displaying the internal id of the waifu's
4 years ago
sgoudham
a0c98a6e6c
Fixing typo is usage
4 years ago
sgoudham
3af8212823
Changing from group into command
4 years ago
sgoudham
893720f66b
Updating the pagination function name
4 years ago
sgoudham
d475011f7c
Getting profile information (Needing to still add true love information and pagination)
4 years ago
sgoudham
34c3e620e9
Now using the walrus operator in 3.8
4 years ago
sgoudham
25f7ad92a8
Fixed airing commands not working
4 years ago
sgoudham
a7d8ef8e9b
Removed redundant code
4 years ago
sgoudham
1cd254d357
Removed redundant code
4 years ago
sgoudham
114306e47c
Removed redundant code
4 years ago
sgoudham
4636d041e5
Removed redundant code
4 years ago
sgoudham
42510ce4b7
Removed redundant code
4 years ago
sgoudham
63f65b6745
Reformatted code. Put code into functions for increased modularity
4 years ago
sgoudham
ac7f6fc0dd
Removing unnecessary if statements
4 years ago
sgoudham
5a2539781a
Mentioning channel when it is created
4 years ago
sgoudham
25d233140c
Logging guild channel creations
4 years ago
sgoudham
5ff68c884a
Renaming fields
4 years ago
sgoudham
4b45e184cb
Logging guild channel deletions
4 years ago
sgoudham
26cd9815ff
Added 2 new reactions buttons
...
One that allows you to go to whatever page
One that allows you to see information about the reactions
4 years ago
sgoudham
cf829cd1e6
adjusting entries per page
4 years ago
sgoudham
2c9024636b
Removing TODO: comments
4 years ago
sgoudham
e5df4f4ea3
Made all the status stuff rolled into one command
...
Updated commentary and usage for guild commands
4 years ago
sgoudham
f9caa8d065
Added random kpop member command for fun
4 years ago
sgoudham
c98dee5254
Not printing out file name
4 years ago
sgoudham
78cc315a8c
Allowing multiple arguments for avatar search
4 years ago
sgoudham
9d28406079
Updating commentary
4 years ago
sgoudham
9008d221e9
If image can't be found, display an error 404 image
4 years ago
sgoudham
0e3bf7e44c
Updated commentary
4 years ago
sgoudham
4bc416cc4f
Muted members can see channels but can't send messages
4 years ago
sgoudham
d5db042a20
Cleaned up perms command
4 years ago
sgoudham
2ea40a3a35
Reformatted more code
...
Adding more reaction buttons to skip to the last page and skip to the first page
4 years ago
sgoudham
ada2229cca
Trying to fix code
4 years ago
sgoudham
261179d5ea
Trying print statements to find out what files it's getting
4 years ago
sgoudham
074ff87216
Trying print statements to find out what files it's getting
4 years ago
sgoudham
7cc3f5a296
Trying someone else's version of my code
4 years ago
sgoudham
1a189623a2
Trying to fix line count
4 years ago
sgoudham
7d6415b41c
Trying to fix line count
4 years ago
sgoudham
8b3c954d26
Got rid of print statement
4 years ago
sgoudham
9cb259c2f9
Fixed line count
...
Added perms command for only User/Role for now.
4 years ago
sgoudham
da40e5969f
Fixed line count
...
Added perms command for only User/Role for now.
4 years ago
sgoudham
c132ca298a
Fixed line count
...
Added perms command for only User/Role for now.
4 years ago
sgoudham
8251385697
Added support for T.V Shows in the search command
4 years ago
sgoudham
1ae20be242
Getting rid of redundant "pass"
4 years ago
sgoudham
eb86d51247
Reformatted everything to use less space
...
Cleaner to look at imo
4 years ago
sgoudham
5972de2e54
Fixed small error for showing tv show embeds
4 years ago
sgoudham
f1d9827b5a
Added custom error exception class for waifu/airing commands
4 years ago
sgoudham
62d9db69e7
Added one function to get random line from file
4 years ago
sgoudham
e0c08b4c6d
Reverting back just file i/o
4 years ago
sgoudham
0e2f256f8c
Trying to retrieve killing gifs from api
4 years ago
sgoudham
a11402ac8e
Returning minimal from the API
4 years ago
sgoudham
45122316de
Pushed kissing gifs but from API to see how fast it is
4 years ago
sgoudham
58a5270fa5
Fixing perms
4 years ago
sgoudham
b9a174478c
Updated usage for commands
...
Updated permissions
4 years ago
sgoudham
cabff7d269
Updated usage for commands
4 years ago
sgoudham
a151ecba82
Added airing best and airing command
...
Reformatted command names
LOTS OF REFACTORING
4 years ago
sgoudham
7176931375
Updating usage for rolepersist command
4 years ago
sgoudham
33e4efdfe1
Actually closing the aiohttp session
4 years ago
sgoudham
7acc89952c
I was deleting the message too early for the grayscale to work
4 years ago
sgoudham
5539787544
Added manage_roles permission for executing modmail commands
4 years ago
sgoudham
18cacdf79c
Deleting the image sent before grayscale is applied
4 years ago
sgoudham
58a5756f4d
Added commentary for instagram command
4 years ago
sgoudham
b2dc7a168b
Error handling for instagram api command
4 years ago
sgoudham
0974393ab1
Hiding statcord auth key
4 years ago
sgoudham
e81db1fdb8
Publishing updates to statcord for better statistics tracking
4 years ago
sgoudham
17f806efd9
Got rid of aiofiles as it seemed to make my command extremely slow
4 years ago
sgoudham
47a4b999bc
Rehauled how reaction roles work within the server
4 years ago
sgoudham
20e0046b65
Rehauled how reaction roles work within the server
4 years ago
sgoudham
da10f47aea
Added currently airing shows onto the commands
4 years ago
sgoudham
d19eef4369
Replacing string emojis with variables
4 years ago
sgoudham
2be556c1ce
Added instagram command
4 years ago
sgoudham
2800e94090
Turning normal text errors into embeds cause why not lol
4 years ago
sgoudham
9090718f64
No more needing admin for modmail
4 years ago
sgoudham
0aa73b1d19
Custom error handling for ban commands
...
Powerban allows for banning members outside of the guild
4 years ago
sgoudham
03a1781b68
Updated commentary
...
Added powerban command to ban users who aren't part of the guild
4 years ago
sgoudham
1d93d8ae8c
Updating emoji's as for some reason they don't work
4 years ago
sgoudham
01f5866765
Added another compliment to the compliment command
4 years ago
sgoudham
fe9aecd2ae
Reformatted owner commands
4 years ago
sgoudham
e4ccaf30fe
Normal peeps can view the status of rolepersist but not change them
4 years ago
sgoudham
4eb9b5816a
Added a grayscale image converter
...
Added alias for owo command (uwu is now the same thing as owo)
4 years ago
sgoudham
e526d11dd4
Adding more whitespace
4 years ago
sgoudham
baf4102834
Reformatting old commands
...
Using emojis for True/False attributes
4 years ago
sgoudham
6c876eb909
Made embed link error message different
4 years ago
sgoudham
477160ece2
Added new commands (roleinfo and rolelist)
4 years ago
sgoudham
f2f20cd1e8
Closing connection properly before shutting down bot
4 years ago
sgoudham
bf91199689
Updated commentary
4 years ago
sgoudham
d74d4bc3d4
Replacing marriage info with cache
4 years ago
sgoudham
a5cef11a2b
Heavy refactoring, using cache and updating that instead of directly to the database
4 years ago
sgoudham
262a350262
letting me see the statistics for the member cache
4 years ago
sgoudham
170bc3f231
Make sure bot updates aren't triggering events
...
Fixing unmute and mute for working with cache
4 years ago
sgoudham
9aedb34069
Using cache for kiss/cuddle commands
4 years ago
sgoudham
9dc6ede0c9
Allowing me dynamically set the cache
4 years ago
sgoudham
f43d6c969e
Fixing modlogs
4 years ago
sgoudham
4003967af0
Refactored EVERYTHING
...
No more converting to strings and back to ints
Moving on from MariaD to PostGresSQL (THANK THE GODS)
Storing modmail in cache
Close to implementing circular queue for member cache
FULLY REDID COMMENTARY
Updated Version Number to 0.8.2 (Closer to v1 release!)
Gonna test commands for the cache within main.py
4 years ago
sgoudham
3f172a4150
Making sure the colour parameter references the correct function
4 years ago
sgoudham
a0af4668b8
Fixed not throwing errors when arguments for moderation commands
4 years ago
sgoudham
02e61e95a5
Formatting ping command differently
4 years ago
sgoudham
47f5185809
Cleaned up version number code, making about command more modular
...
Ping command is now an embed
4 years ago
sgoudham
8c58ae2286
Error handling for waifu commands
4 years ago
sgoudham
ed031d689c
Waifu search is it's own command
4 years ago
sgoudham
76956f3e3f
Updated Commentary
4 years ago
sgoudham
a36e8a98dc
Simplifying some code
...
Adding method to check for timeout error
4 years ago
sgoudham
4f9280f5c6
Making random waifu it's own command instead of a waifu argument
4 years ago
sgoudham
afc639ee66
Didn't account for modmail that was 50 characters long exactly
4 years ago
sgoudham
f8f422b2eb
Fixed the verification system
4 years ago
sgoudham
66a7a5a6a6
Fixed the verification system
4 years ago
sgoudham
21bfa2d656
Awaiting function
4 years ago
sgoudham
bf206bfd5f
Not checking permissions everytime the channel is muted and making muted role now disable read perms
4 years ago
sgoudham
71e5088b3b
If user does not react within 60 seconds. Delete the modmail channel
4 years ago
sgoudham
7f7f5bcf50
If user does not react within 60 seconds. Delete the modmail channel
4 years ago
sgoudham
4926c6b242
If bot does not have embed links permission, send normal text error message
4 years ago
sgoudham
2cc6a5e86d
Adding License
4 years ago
sgoudham
5f4171935c
Changed parameter to ensure consistency
4 years ago
sgoudham
00f86137a7
Made sure that messages purged display proper number
4 years ago
sgoudham
61fe835ccc
Made setting up modlogs and modmail much easier
...
Using typehints to convert into Channel objects
Command specific error handling is now used
4 years ago
sgoudham
1e7889e9b4
Adding specific error handling for modlogs
4 years ago
sgoudham
8cb70c7491
When command has an error handler function, don't send global event handler errors
4 years ago
sgoudham
e0af4b8412
Simplifying code
...
Using self.bot.generate_embed()
4 years ago
sgoudham
80cf8bcb9c
Removing .format() in favour of fstrings
4 years ago
sgoudham
dfa7c99c0b
Removing .format() in favour of fstrings
4 years ago
sgoudham
d3acc4bd39
Removing .format()
4 years ago
sgoudham
4219e681c8
Removing .format() in favour of fstrings
4 years ago
sgoudham
e6742806b6
Removing .format()
4 years ago
sgoudham
511e6712f0
Removing .format()
4 years ago
sgoudham
057955886d
Removing .format() in favour of fstrings
4 years ago
sgoudham
9df0c200c6
Getting rid of .format()
...
Made text into embeds
Simplifying code
4 years ago
sgoudham
b539157462
Getting rid of .format()
4 years ago
sgoudham
40a7a0a58d
Removed redundant global variable for homies command
4 years ago
sgoudham
2bf08a32be
Deleting message first and then sending the dm to the user
4 years ago
sgoudham
dab51d22d6
Using self.bot.generate_embed()
4 years ago
sgoudham
5a9d106bd6
No need for settings.py file anymore
4 years ago
sgoudham
35d8844cf1
No need for settings.py file anymore
4 years ago
sgoudham
94b529a300
Fixing typo for embed colour in channelinfo command
4 years ago
sgoudham
236ecfd9b4
No need for settings.py file anymore
4 years ago
sgoudham
9f78ffaecb
No need for settings.py file anymore
4 years ago
sgoudham
b8b7127235
Moved error handling into a separate cog
4 years ago
sgoudham
cbc030e652
Moved owner only commands into owner.py
4 years ago
sgoudham
1089d30709
Moved ping command into info
4 years ago
sgoudham
f932485df0
Made sure that settings.py file is not used anymore
4 years ago
sgoudham
f76577244b
Made sure that settings.py file is not used anymore
4 years ago
sgoudham
ce6994a3a5
Made sure that settings.py file is not used anymore
4 years ago
sgoudham
edb5be567f
Made sure that settings.py file is not used anymore
4 years ago
sgoudham
b1321aebf5
Made sure that settings.py file is not used anymore
4 years ago
sgoudham
404b9daa37
Added stupid check to see if the message was "edited" within dms
4 years ago
sgoudham
f246fb1d2f
Set Case Insensitive to True
4 years ago
sgoudham
c68b414ebd
Set Case Insensitive to True
4 years ago
sgoudham
7f34e08898
Simplifying check bot checks
4 years ago
sgoudham
094149c6cc
Displaying attachment links when message is deleted
...
Not logging message deletions from other bots
4 years ago
sgoudham
ea64effee3
Reformatted role added embed
4 years ago
sgoudham
f32508238d
Reformatted role added embed
4 years ago
sgoudham
f94b04ab3c
Reformatted role removed embed
4 years ago
sgoudham
d4aeb539f7
Added GPLv3 license
...
Added logging for message deletions
4 years ago
sgoudham
aea5e0f49d
Added GPLv3 license
4 years ago
sgoudham
a733dc137c
Reformatted code
...
Properly indented the code
Added GPLv3 license
4 years ago
sgoudham
e2f76a6662
Updated commentary
4 years ago
sgoudham
faacbab3e4
Updated commentary
...
Added logging for messages not stored within internal cache
4 years ago
sgoudham
e02adac5a6
Logging message edits (only in cache for now)
...
Only logs messages fully up to 500 characters
4 years ago
sgoudham
96c6fdf51b
Updated commentary for
...
Beginning to log message edits
4 years ago
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