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
sgoudham
f03ea681a9
Importing more modules at the top to make code look cleaner
4 years ago
sgoudham
604d5104bd
Reformatting footer text
4 years ago
sgoudham
7bd0353892
Reformatting footer text
4 years ago
sgoudham
f07e6e0ef9
Adding minimum cooldown to some commands
4 years ago
sgoudham
4b511fcd2f
Adding bot permissions to the owo command
4 years ago
sgoudham
c87d9b719a
Updated bot permissions for serverinfo
4 years ago
sgoudham
120b247fd8
Updated bot permissions for serverinfo
4 years ago
sgoudham
7f78420e9f
Added listener for when member leaves the user and then sends the logs to the modlogs channel (if user has setup modlogs channel in their server)
4 years ago
sgoudham
a22ef89cc6
Removing Ange
4 years ago
sgoudham
ce2545d8f1
Splitting lines of code into Code/Blank/Commentary/Total/Files
...
Adding discord statistics (Guilds/Channels/Emojis/Commands and Users)
4 years ago
sgoudham
a244813526
Splitting lines of code into Code/Blank/Commentary/Total/Files
4 years ago
sgoudham
517c2889da
Adding channels to the bot stats
4 years ago
sgoudham
0d6ada402d
Changing avatar url to the Enso Chan
4 years ago
sgoudham
77c3d942d8
Correctly displaying github link
4 years ago
sgoudham
4ec192c215
Changing "binfo" to "about"
...
Including github link
Adding edge cases where the user has no roles and no key permissions
4 years ago
sgoudham
902ea30c95
Made more database connections Asynchronous
4 years ago
sgoudham
0da671f5f5
Made more database connections Asynchronous
...
Addded listener for bulk deletion of messages and to log them in the modlogs channel if it was setup
4 years ago
sgoudham
529494bc54
Made database connections Asynchronous
...
Changing authors name to display name
4 years ago
sgoudham
f7185eeff6
Changing from connection2 to connection
4 years ago
sgoudham
18b91d66e5
Made the colour enso_embedmod_colours
4 years ago
sgoudham
6db25d32a3
Adding listener to log purged messages
4 years ago
sgoudham
d418b2170c
Making error message mention user
4 years ago
sgoudham
d0dc1a6618
Adding await to cursor
4 years ago
sgoudham
a4cb604dec
The proposal/divorce will timeout after 90 seconds
...
Added commentary
Updated database connections to be asynchronous
4 years ago
sgoudham
c62f6ec45d
Getting rid of Husk in anime commands
4 years ago
sgoudham
60d1271594
Adjusting for removing column discordUser
4 years ago
sgoudham
893deb1544
Adjusting for removing column discordUser
4 years ago
sgoudham
d7dda002db
Making on marry command asynchronous
4 years ago
sgoudham
8274b2bc61
Added a modlogs system
...
If modlogs channel has been setup, embeds will be sent there. If not then the embed will be sent to the channel that the user is in.
Updated/Added commentary
4 years ago
sgoudham
5bfe9d408c
Making ` not appear in text when command has no signature
4 years ago
sgoudham
31becc8125
Checking if the command has a usage and a signature
4 years ago
sgoudham
7407e9473a
Accounting for when there is no command usage
4 years ago
sgoudham
3f8a3ce312
Making else into elif
4 years ago
sgoudham
1337c6c193
Displaying 6 commands per page
4 years ago
sgoudham
1f092a1a46
Updating insult grammar
4 years ago
sgoudham
8f97cb51cd
Updating commentary
4 years ago
sgoudham
8622a7f63e
Adding another exception case to the help command. Making it so that it's correctly formatted
4 years ago
sgoudham
f867315c4a
Adding bot permissions to the userinfo command
4 years ago
sgoudham
abbb9178b8
Changing from insert to update statement
4 years ago
sgoudham
9a4ab97e76
Adding group of commands for setting up modlog channels
4 years ago
sgoudham
3420cee74c
Reformatting text markdown
4 years ago
sgoudham
cee8141f2d
Reformatting text markdown
4 years ago
sgoudham
82da1280c8
Updating commentary of subcommands
4 years ago
sgoudham
4c3b130e92
Adding cooldowns for commands
4 years ago
sgoudham
b6fde08f95
Added usage for modmail group
4 years ago
sgoudham
abf139d2c9
Adding optional argument
4 years ago
sgoudham
158b27c7dd
OwO text sent by the user is deleted
4 years ago
sgoudham
aba109547c
Making things optional arguments
4 years ago
sgoudham
4610a3bc64
Changing target to member
4 years ago
sgoudham
e0bcea5d1d
Optional Argument for Enso
4 years ago
sgoudham
17af2b4d3f
Restructuring code
4 years ago
sgoudham
e12b6183a1
Making it the command arguments optional for waifu and husbando
4 years ago
sgoudham
b721baacf3
Fixed typo
4 years ago
sgoudham
368965f0ce
Accidentally put manage server instead of manage guild
4 years ago
sgoudham
29ad86f93a
Adding bot permissions to relationship
4 years ago
sgoudham
8750594a51
Adding bot permissions to modmail
4 years ago
sgoudham
f869789a94
Adding bot permissions to the interactive commands
4 years ago
sgoudham
e15c7a33fe
Formatting the return string
4 years ago
sgoudham
fdc6f59d63
Removing try/except
4 years ago
sgoudham
6508f8b55f
Adding line count and number of files
4 years ago
sgoudham
1cac77f22c
Added bot/user permissions to the commands
...
Stats command is now botinfo/binfo
Made commands guild only
4 years ago
sgoudham
db5d03af6b
Adding bot/user permissions to the commands
4 years ago
sgoudham
f15d247268
Adding bot permissions to the commands
4 years ago
sgoudham
69ef9c783c
Adding bot permissions to the commands
4 years ago
sgoudham
3b08b746bb
Getting rid of category argument
4 years ago
sgoudham
e8f5a7ec74
Not using the categories
4 years ago
sgoudham
cb23e4eb5d
Changing directory of modmail text files
4 years ago
sgoudham
7ae857e5f9
Updating commentary
4 years ago
sgoudham
1dd429e74d
Reformatting error messages
4 years ago
sgoudham
b10692f7ae
Raising BadArgument error for homies
4 years ago
sgoudham
dbdac8dd21
Updated/Added commentary
4 years ago
sgoudham
cfad05e5f3
Shortening verification level string
4 years ago
sgoudham
5b434dde0f
Adding +
4 years ago
sgoudham
af75fe47f0
Added verfication level and Nitro Boosters
4 years ago
sgoudham
2ae4f81e29
Adding +
4 years ago
sgoudham
0fb3478eff
Removing whitespace
4 years ago
sgoudham
47c64d1b03
Moving Categories into Channels field
4 years ago
sgoudham
370e42c6e6
Mentioning the owner of the server
4 years ago
sgoudham
ca764b5742
Removing redundant str() from member.mention
4 years ago
sgoudham
7d545f73ce
Reformatted the purge command
4 years ago
sgoudham
cc15903ea7
Fixed typo
4 years ago
sgoudham
c3a64b1afa
Made purge command work properly
4 years ago
sgoudham
b4a883f0ee
Made purge command work properly
4 years ago
sgoudham
9eb8b2a036
Changing the purge command
4 years ago
sgoudham
acc719c026
Added bot permission checks within the guild
4 years ago
sgoudham
26bb37be1d
Fixed small typo
4 years ago
sgoudham
4c6f984681
Made sure that bot has admin to execute serverinfo
4 years ago
sgoudham
9cc261b018
Reverting back to just the lowest 20 roles
...
Will try to fix it later
4 years ago
sgoudham
1ffd3c125a
Testing if the last 20 roles can be displayed
4 years ago
sgoudham
76cc8e0f66
Testing if the last 20 roles can be displayed
4 years ago
sgoudham
6357338e92
Testing if roles can be printed in reverse order
4 years ago
sgoudham
48332a1d83
Getting rid of await can run
4 years ago
sgoudham
62b925ad01
Displaying all commands even if they can't be ran
4 years ago
sgoudham
f5b1a5b3c1
Added names and aliases to the moderation commands
4 years ago
sgoudham
bd24112893
Adding error handling for purge command
4 years ago
sgoudham
0847190130
Making arguments appear optional
4 years ago
sgoudham
6b644eb15c
Making arguments appear optional
4 years ago
sgoudham
e8c66a5b2d
Changing from "target" to "member"
...
Made member an optional argument
4 years ago
sgoudham
188459ae8b
Updating title of pat command
4 years ago
sgoudham
3f895f8140
Adding quotation marks for reason given
4 years ago
sgoudham
abaadfaf56
Adding kick/ban/unban/purge
4 years ago
sgoudham
4c0ccb4317
Adding new moderation cog
4 years ago
sgoudham
7325b957d5
Reformatting title of embed
4 years ago
sgoudham
6c06f71ec5
Reverting back to name
4 years ago
sgoudham
c8e7926650
Reformatting embed
4 years ago
sgoudham
be6a0faa5f
Updating commands description
...
Adding channelinfo command
4 years ago
sgoudham
d564c1f0e6
Updating command description
4 years ago
sgoudham
96bf805f0c
Added on_ready() listener to know when Cog is ready
4 years ago
sgoudham
b00352ed72
Trying to make minfo member an optional argument
4 years ago
sgoudham
1000548765
Trying to make minfo target an optional argument
4 years ago
sgoudham
8e01c97fd9
Updating command description
4 years ago
sgoudham
d41247ba60
Updating Cog Description
4 years ago
sgoudham
6a4faa4c60
Turning enso command into commands/subcommands
...
Updating Cog Description
4 years ago
sgoudham
cd91b5747c
Making argument seem optional within help embed
4 years ago
sgoudham
bfce2b749d
Trying to make waifu/husbando arguments optional in help embed
4 years ago
sgoudham
adf6f57aa8
Trying to make waifu/husbando arguments optional in help embed
4 years ago
sgoudham
4ecf54e22e
Converting Enso cog into commands/subcommands
4 years ago
sgoudham
e06e662447
Trying to change per page commands showing up
4 years ago
sgoudham
74d2c0799c
Made sure that the command works in dms with thumbnails
4 years ago
sgoudham
ad17aa6a95
Made sure that if the commmand is a group, it doesn't try to access the command signature
4 years ago
sgoudham
312b563cc5
Renaming HelpPaginator.py to help.py
4 years ago
sgoudham
818c3ace05
Removing test.py
4 years ago
sgoudham
ef177ab906
Renaming Paginator to help.py
4 years ago
sgoudham
f790f58757
Reformatting code/Updating Commentary
4 years ago
sgoudham
cbafa4ab61
Added timestamp to embed
...
Changed colour of embed
4 years ago
sgoudham
1246e00419
Reformatting embeds
4 years ago
sgoudham
f807a6c9f3
Updating Cog Description
4 years ago
sgoudham
09796e90cb
Removing ping command
4 years ago
sgoudham
ccc34326a6
Adding modmail command description
4 years ago
sgoudham
0273472b10
Added Help Paginator found online
4 years ago
sgoudham
476e3778e7
Adding extra help for people
4 years ago
sgoudham
fb65d234b3
Shortening Command Descriptions
4 years ago
sgoudham
36d34b4079
Making sure the command can be used within dms
4 years ago
sgoudham
1b3e5254a8
Reformatted group command embed
4 years ago
sgoudham
22c57b46d9
Overhauled a lot of tutorial code
...
Almost finished
(Really Messy)
4 years ago
sgoudham
f7279c6fc9
Changing parameter to "text" instead of "user_word"
4 years ago
sgoudham
8e68095f56
Updating Cog description
4 years ago
sgoudham
edc7e7b2f7
Adding Cog description
4 years ago
sgoudham
848ca2ba51
Updating cog description
...
Moving ping command
4 years ago
sgoudham
260d09b3d8
Changing Class name
4 years ago
sgoudham
15e978945f
Updating Cog Description
4 years ago
sgoudham
a479c1f8d2
Updating Cog description
4 years ago
sgoudham
6f1832b52d
Adding Cog Description
4 years ago
sgoudham
9749742fdc
Database connections are now more efficient
4 years ago
sgoudham
4b5e35aa45
Adding Cog description
4 years ago
sgoudham
ba9ed0ae73
Adding Cog description
4 years ago
sgoudham
44f60f7d42
Adding Cog description
4 years ago
sgoudham
443c6e77b0
Adding owner only for now
...
Adding description
4 years ago
sgoudham
e802ddae7a
Adding command description
4 years ago
sgoudham
c9c22d4546
Fixing flip command
4 years ago
sgoudham
426480a804
Displaying command signature
...
Switching to walk commands()
4 years ago
sgoudham
f548be9b3f
Unhiding Cog
4 years ago
sgoudham
ef945439ed
Putting it into one listener
4 years ago
sgoudham
007aa90f77
Putting it into one listener
4 years ago
sgoudham
ed5f2d2a94
Changing from walk_commands() back to get_commands()
4 years ago
sgoudham
1e448a8fec
Including sub commands
4 years ago
sgoudham
ac265cd1ff
Moved Directories of Cogs
4 years ago
sgoudham
93a0abba6d
Deleting unnecessary Cog
4 years ago
sgoudham
cf0a7cb515
Changed help section of modmail in alignment with changing of modmail command
4 years ago
sgoudham
0086de29ee
Modmail command is now ~modmail instead of ~mmsetup
...
"modmail set" is now "modmail setup"
4 years ago
sgoudham
c3353b40ef
Moving modmail code into one single .py file
4 years ago
sgoudham
7686cf6b48
Removing setup file
4 years ago
sgoudham
3eb7d603fd
Changed help commands for mmsetup
4 years ago
sgoudham
bc764fa15e
Adding cog description
4 years ago
sgoudham
797e16897e
Renaming Cog
4 years ago
sgoudham
94d1aacd5e
Database connections are now more efficient
4 years ago
sgoudham
80a1efbb2b
Renaming Cog
4 years ago
sgoudham
411b7de73d
Updating cog names
4 years ago
sgoudham
17f4c8491f
Removing unnecessary cogs/.py files
4 years ago
sgoudham
266c1e8584
Putting more Enso specific commands
4 years ago
sgoudham
1b78a33d1e
Reformatting text
4 years ago
sgoudham
945cde2982
Reformatting text
4 years ago
sgoudham
94caa6fb9c
Database connections/cursors are now more efficient
4 years ago
sgoudham
e3adc7b06d
Database connections are now more efficient
4 years ago
sgoudham
32d1f4783c
Making sure error function stays in enso.py
4 years ago
sgoudham
ede7802369
Making sure that it doesn't try to set the guildid if the guild has not set up the modmail system
4 years ago
sgoudham
76a1adc5f1
Added missing comma
4 years ago
sgoudham
8699129049
Deleting previous cogs as they have been moved into fun.py
4 years ago
sgoudham
31e114ac6c
Hiding cog
4 years ago
sgoudham
35da3d0027
Making cog name capital
...
Hiding cog
4 years ago
sgoudham
7e9dae090b
Making cog name capital
4 years ago
sgoudham
40132b5632
Hiding Cog
4 years ago
sgoudham
e72d4d530c
Making sure all cases are accepted
4 years ago
sgoudham
13132fa25b
Getting rid of inefficient code and replacing it with an argument
4 years ago
sgoudham
8633e9ecdb
Getting rid of the channel restrictions
4 years ago
sgoudham
80d6ca22ab
Removing CPU time
4 years ago
sgoudham
ad157ed7e1
Removing pasted code
4 years ago
sgoudham
fa2a85c3d0
Adding developer section
...
Reworking version fields
4 years ago
sgoudham
9e5f5dbd71
Upgrading 8ball command to using API
4 years ago
sgoudham
dd2100b7e3
Making attack command bot owner only
4 years ago
sgoudham
ac079d0585
Making owo text modular
4 years ago
sgoudham
7a073b12e2
Typo in help command
4 years ago
sgoudham
6d9e37a76f
Fixing typo in divorce command
4 years ago
sgoudham
7f6cd9a395
Fixing typo in divorce command
4 years ago
sgoudham
79f579eeda
Removing restriction on Doggo command
4 years ago
sgoudham
74ce5cd2fb
Prototype help command going into action
...
Not working fully
4 years ago
sgoudham
426e8e8f27
Making sure these commands only work in Enso
4 years ago
sgoudham
ef608b8b63
Added commentary
4 years ago
sgoudham
bd38cd4f12
Making sure that only people in Enso can use the Enso command
4 years ago
sgoudham
8a34a6ad8b
Making sure that only people in Enso can use the Enso command
4 years ago
sgoudham
14843b567a
Making sure that only people in Enso can use the Enso command
4 years ago
sgoudham
c5eca4cf6a
Added prefix
...
Added stats
4 years ago
sgoudham
ca494e2dff
Added commentary
4 years ago
sgoudham
9bfb06dc96
Upgrading stats command
4 years ago
sgoudham
66f0c08494
Upgrading stats command
4 years ago
sgoudham
a942363295
Adding bot version
...
Added stats command to view bot statistics
4 years ago
sgoudham
935c2c4266
Hiding verification command
4 years ago
sgoudham
1db9dd4973
Fixed reaction event interfering with help embed
4 years ago