Roxie Gibson
|
2269ac8f8d
|
import error handling
|
6 years ago |
Roxie Gibson
|
5ee6a4671a
|
moved over all command wrappers to commands.command instead of bot.command as the latter now breaks the program. And its cleaner.
|
6 years ago |
Vallerie
|
2765f06a12
|
Fix issue related to missing config for servers + add error handling to ;sa (#15)
* Fix issue related to missing config for servers
* Add error handling to ;sa for role which doesn't exist
|
6 years ago |
Roxie Gibson
|
a3b9a2b7c9
|
Added setup.py for easy setup. Need to test it yet tho.
|
6 years ago |
Roxie Gibson
|
fbee5652e4
|
added comments to most core bot functions and methods. Cleaned up some unused code along the way.
|
6 years ago |
Roxie Gibson
|
cc819ce12d
|
moved cogs to main because its used no where else and its causing errors when the bot needs to restart after disconnecting from discord so the auto rejoin was broke due to the move to __init__
|
6 years ago |
Roxie Gibson
|
5b11bc8e91
|
added unicode encoding and license to all python files.
|
6 years ago |
Roxie Gibson
|
edc020eabc
|
Moved all owner only non-settings commands to a new cog called system which is loaded on boot.
|
6 years ago |
Roxie Gibson
|
e0fdfe137e
|
fixed a few errors in the refactoring.
|
6 years ago |
Roxie Gibson
|
5fe2c02c18
|
renamed Roxbot to roxbot for ease of use.
|
6 years ago |
Roxie Gibson
|
db77ed9692
|
Made an enumertator for the embed colours so that it is standardised and easier to manage.
|
6 years ago |
Roxie Gibson
|
baa7377b65
|
Refactoring to make imports a lot easier and not have three versions of the blacklisted function. Lots of tiny formatting refactoring done too.
|
6 years ago |
Roxie Gibson
|
a4bb09d16e
|
fixed unban command and fixed checking for blacklist command
|
6 years ago |
Roxie Gibson
|
a3ca04695e
|
Commands made case-insensitive, removed pointless second error in `iam` commands, fixed pm issues with on_message event in cc cog.
|
6 years ago |
Roxie Gibson
|
cd595c725a
|
made the expression optional to get the help output and made sure that the help output has something about adding numbers to the sum.
|
6 years ago |
Roxie Gibson
|
bffb3948eb
|
backups added for the settings file.
|
6 years ago |
Roxie Gibson
|
1bbeb53f8a
|
fixed config issues when joining and leaving servers
|
6 years ago |
Roxie Gibson
|
194d099987
|
test command left in that shouldn't be there.
|
6 years ago |
Roxie Gibson
|
31bb4851d1
|
lol issue with the autogen
|
6 years ago |
Roxie Gibson
|
3170c13f97
|
added logging to roxbot.
|
6 years ago |
Roxie Gibson
|
08cf12f668
|
everything should have been sucessfully refactored into the new folder structure and the new settings object.
|
6 years ago |
Roxie Gibson
|
a3aa2558f2
|
Customcommands cog converted over to new settings.
|
6 years ago |
Roxie Gibson
|
838fa60dfd
|
settings and main should work now with the new objects.
|
6 years ago |
Roxie Gibson
|
5ee67ce6be
|
Settings cog moved over to the new internal settings object stuff. Also some extra comments here and there/
|
6 years ago |
Roxie Gibson
|
f090fcffc2
|
Settings cog moved over to the new internal settings object stuff. Also some extra comments here and there/
|
6 years ago |
Roxie Gibson
|
cc44df0e9c
|
New way of storing settings in there. On reflection idk how much this will make things cleaner. But it might. So lets just finish it in settings and bug test it. If it works, then its good.
|
6 years ago |
Roxie Gibson
|
c9df1c7a41
|
This new system is getting there. More refactoring bug fixes too.
|
6 years ago |
Roxie Gibson
|
4b0b0b89ed
|
The start of some refactoring. I fucked up by starting the new setitng system too so i guess that will completed on this branch then merged with dev.
|
6 years ago |
Roxie Gibson
|
be0e4b78fe
|
Fixed a bug which literally made all of the roxbots guild objects and made the ID's strs.
|
6 years ago |
roxie
|
eacb77b880
|
fixed custom commands again. Now works.
|
6 years ago |
roxie
|
9c7706a4ca
|
Err handling is mostly functional. Just some commands will need to include their own error handling as to not spam my inbox with more traditional errors. Maybe a roxbot error channel would be nice.
|
6 years ago |
roxie
|
d7c9b6a11d
|
cleaned a few things up so that it isn't so inefficent due to some of the features already being provided or useless code.
|
6 years ago |
roxie
|
872fd4e3b8
|
Moved the presence changing to the bot declaration instead of changing the presence after logging in. The new activity stuff seems like it would be good.
|
6 years ago |
roxie
|
98de9f28f8
|
settings commands starting to be cleaned up. Also removed the announcement command.
|
6 years ago |
roxie
|
ac4e64f55d
|
moved settings to config to represent it being part of the core bot rather than in the cogs.
|
6 years ago |
roxie
|
ee774ac469
|
This defo works. Cleaned up and should be a decent back bone. Tho error handling needs work because its just been moved over into a file.
|
6 years ago |
roxie
|
fd9744e4f0
|
this runs woo
|
6 years ago |
roxie
|
e7d375ec96
|
cleaned up file structure. Moving error logging to a different file. And moving everything for the config and settings into load_config.
|
6 years ago |
roxie
|
81d06c4280
|
removed comment
|
6 years ago |
roxie
|
b8d031a038
|
lil cleanups and warning in cogs.py
|
6 years ago |
roxie
|
fda4c824c9
|
cleaned up main
|
6 years ago |
roxie
|
2d3d380456
|
slowmode is working now woo
|
6 years ago |
roxie
|
ef5c9e4593
|
the whole of 1.2 because I fucking starting developing on master as was too much of a pussy to just change branches
|
6 years ago |
roxie
|
f610242c4e
|
.
|
6 years ago |
roxie
|
d83976a9eb
|
Started fixing and making the settings file better.
|
6 years ago |
roxie
|
4be604dc95
|
ninja edit
|
6 years ago |
roxie
|
5fca647979
|
.
|
6 years ago |
roxie
|
f72ea88f7d
|
Bodgy error handling on the nsfw commands
|
6 years ago |
roxie
|
c0e87f2d18
|
Just some small changes. Fucking error checks are annoying for NSFW. Since you can't error handle commands. So someone inputting shitty commands raises and error you can't catch. Ffs
|
6 years ago |
roxie
|
b115f4701f
|
added some command descriptions and laid the foundations for the suck and waifurate changes.
|
6 years ago |