Commit graph

236 commits

Author SHA1 Message Date
Ave Ozkal 77f43caca9
Restrictions: Significantly clean up code 2018-12-27 14:56:13 +03:00
Ave Ozkal 5521b4aa58
fetchdata: add .fetchdata and make bot start send data files 2018-12-27 14:44:09 +03:00
Ave Ozkal 6dedd74e97
Fix one mention of old userlog file 2018-12-27 14:32:16 +03:00
Ave Ozkal b04fdc65ee
userlog: allow only accessing a type of events + add .events 2018-12-27 14:07:15 +03:00
Ave Ozkal 9defe42424
Userlog: tiny fix
makes event deletion embeds show as "<fancyname> <number>" (Note 1) instead of using "<eventname> <number>" (notes 1)
2018-12-27 14:00:53 +03:00
Ave Ozkal 6a8819a2a8
Massive cleanup of code, many new features
- added logging and listing of kick/ban/mute events
- add usernotes (.note to add a note to a user, .notes to fetch them)
- split off mod.py into many files, cleanup on many features
- renamed .listwarns to .userlog
- renamed .mywarns to .myuserlog
2018-12-27 13:56:24 +03:00
Ave Ozkal 2b50f56fe7
restrictions: Don't rely on role names, use role ids instead 2018-12-27 12:10:29 +03:00
Ave Ozkal 338aa80c58
Move checks and errcodes to a new folder called helpers 2018-12-26 14:36:55 +03:00
Ave c64f04320e
Merge pull request #4 from misson20000/clearreact
add clearreacts commands
2018-12-26 13:07:03 +02:00
misson20000 6237ac9e8c fix += formatting 2018-12-26 02:55:59 -08:00
misson20000 687a26105d formatting fixes and fix for custom emojis 2018-12-26 02:47:32 -08:00
misson20000 7fecf73ff0 add clearreacts commands 2018-12-26 01:45:00 -08:00
Ave Ozkal 7e332ffef5
Add .bones 2018-12-26 11:22:22 +03:00
Ave Ozkal 5dbe7a43f7
Add .mywarns 2018-12-26 11:18:11 +03:00
Ave Ozkal fef08b1dbf
Collect checks into a single file to reduce code repetition 2018-12-26 10:55:42 +03:00
Ave Ozkal b35765d296
Fix .help in DMs, make Robocop call you out when your DMs are blocked
Also limit membercount to guilds
2018-12-26 10:48:41 +03:00
Ave Ozkal fbdb441976
Fix float issues on warm once and for all 2018-12-26 10:18:05 +03:00
Ave Ozkal bdf55e4103
Attempt to fix floating point issues with temp conversion 2018-12-26 10:15:50 +03:00
Ave Ozkal d38b1a8065
speak: add 2018-12-25 14:43:23 +03:00
Ave Ozkal 5eac0b1a81
Fix hackban further 2018-12-25 14:40:04 +03:00
Ave Ozkal b78544a4fb
Fix hackban 2018-12-25 14:33:49 +03:00
Ave Ozkal eebcfea2f5
Fix ban issues 2018-12-25 14:13:02 +03:00
Ave Ozkal 461b7e547c
verification: Clarify process on "Incorrect" message 2018-12-25 13:46:59 +03:00
Ave Ozkal b6f8af6d53
Remove hedge mention 2018-12-24 11:41:28 +03:00
Ave Ozkal 82390d8dfb
mod: Give priority to hedge 2018-12-24 11:40:36 +03:00
Ave Ozkal 3e86b8d519
mod: Hedge-proof the code 2018-12-24 11:26:19 +03:00
Ave Ozkal bd4fa015ca
Merge branch 'master' of github.com:aveao/robocop-ng 2018-12-24 11:10:54 +03:00
Ave Ozkal 3b062a2ac3
err: get pep8 compliant and reduce string repetition
sorry tomger, lol
2018-12-24 11:09:35 +03:00
tomGER 9e0192a82a
[ERR] add ninerr to possible aliases 2018-12-24 01:40:06 +01:00
Ave Ozkal 96bfb9ef28
Merge branch 'master' of github.com:aveao/robocop-ng 2018-12-24 03:28:46 +03:00
Ave Ozkal 901a641f7a
lock/unlock: allow locking/unlocking other channels 2018-12-24 03:26:25 +03:00
Pika c9a26be47f
thrink 2018-12-23 19:22:57 -05:00
Ave Ozkal 27c991f0af
reset: bugfix 2018-12-24 03:18:40 +03:00
Ave Ozkal 7aa19fae41
restrictions: implement
This means that we have achieved feature parity with robocop.
2018-12-24 02:53:14 +03:00
Ave Ozkal 7f459ba30a
delwarn/delwarnid: add
This concludes the kurisu rewrite, other than restrictions.
2018-12-24 02:41:25 +03:00
Ave Ozkal a683426913
clearwarns/clearwarnsid: added 2018-12-24 02:25:30 +03:00
Ave Ozkal 8022dec4d4
listwarns/listwarnsid: add 2018-12-24 01:36:36 +03:00
Ave Ozkal 9fba7b3075
warn: add 2018-12-24 01:11:01 +03:00
Ave Ozkal 6a9a0cb57d
warm: care about the american few 2018-12-24 00:12:06 +03:00
Ave Ozkal 93a5354761
purge: add 2018-12-23 23:59:08 +03:00
Ave Ozkal 15bb78a252
mute/unmute: added 2018-12-23 23:50:05 +03:00
Ave Ozkal bc85174a51
lockdown: Add lockdown 2018-12-23 23:33:03 +03:00
Ave Ozkal 178bd55a6e
english hot-fixes 2018-12-23 23:01:43 +03:00
Ave Ozkal 8c32a99f3d
approve/revoke/addhacker/removehacker/probate/unprobate: Re-make and
combine commands
2018-12-23 22:59:42 +03:00
Ave Ozkal 5fc612710c
Approve/revoke: added 2018-12-23 22:32:48 +03:00
Ave Ozkal 785ea868da
lockdown: cleanup and fixes? :) 2018-12-23 22:15:44 +03:00
tumGER 2c7908ace4 Update lockdown.py 2018-12-23 20:08:34 +01:00
tumGER 0718b97ba9 Merge branch 'master' of https://github.com/aveao/robocop-ng 2018-12-23 20:06:35 +01:00
tumGER 832524eb56 Implement lock 2018-12-23 20:06:32 +01:00
Ave Ozkal f06b8b8cb5
logging: Add logging! 2018-12-23 22:03:40 +03:00
Ave Ozkal a5a5a2f876
botnickname/nickname: added 2018-12-23 20:56:27 +03:00
Ave Ozkal b2a907babf
err: Further cleanup of tomGER's code
I dislike .format() :)
2018-12-23 20:42:01 +03:00
Ave Ozkal 5d54ac7aec
playing: Add playing
Also this commit includes DRAM optimization (aka I sneakily cleaned
tomGER's code a bit)~
2018-12-23 20:36:40 +03:00
Ave Ozkal b67ddda4f1
robocop: add robocop command 2018-12-23 20:27:51 +03:00
Ave Ozkal fc7c0f89d6
Add verification
god i hate this so much
2018-12-23 20:13:40 +03:00
tumGER 701d5ba084 Implement hex2err and err2hex 2018-12-23 18:01:31 +01:00
tumGER 6e83b6c865 just use hex() instead 2018-12-23 17:51:21 +01:00
tumGER 52e5de4556 Fix the shown errcode 2018-12-23 17:48:38 +01:00
tumGER a66fcd14b7 Restructure some logic 2018-12-23 17:46:03 +01:00
tumGER 758583ff33 Merge branch 'master' of https://github.com/aveao/robocop-ng 2018-12-23 17:32:13 +01:00
tumGER 3f3a242d0d Fix false hex in title on switch error 2018-12-23 17:32:01 +01:00
Ave Ozkal 3a9e5e490d
reset: Added reset command 2018-12-23 19:31:12 +03:00
tumGER b6f8f3b256 Fix stupid logic 2018-12-23 17:29:14 +01:00
tumGER b566f7b1e5 Add err to autoboot 2018-12-23 17:23:05 +01:00
tumGER e2e7456b8f Merge branch 'master' of https://github.com/aveao/robocop-ng 2018-12-23 17:17:12 +01:00
tumGER 7e313055de [ERR] Add Wii U, 3DS, Switch Hex, 3DS Hex, Error support 2018-12-23 17:16:56 +01:00
Ave Ozkal 6f03367527
Admin/Mod: limit all checked commands to guilds 2018-12-23 18:47:47 +03:00
Ave Ozkal ca9c4e063d
ban/kick: fix them, and add silentban 2018-12-23 18:44:16 +03:00
Ave Ozkal 0c9352fe33
Add ban and kick
Also, message escaping stuffs were added to common and meme was updated
accordingly
2018-12-23 18:33:59 +03:00
Ave Ozkal b787589ef7
Add userinfo, extend TODO 2018-12-23 18:07:59 +03:00
tumGER 0539c195bd [ERR] Fancy Embed
Co-Authored-By: Ave <githubpublic@ave.zone>
2018-12-23 15:55:45 +01:00
tumGER 9216e07b31 fix markup 2018-12-23 15:42:04 +01:00
tumGER 88dd96910c Make ave happy (and the bot work) 2018-12-23 15:39:03 +01:00
tumGER 3ef04a6af5 Update err.py 2018-12-23 15:32:22 +01:00
tumGER 79707d49e6 Merge branch 'master' of https://github.com/aveao/robocop-ng 2018-12-23 15:30:11 +01:00
Ave Ozkal 796dc970d2
Commit some changes I did
IDK what I changed lol
2018-12-23 17:28:44 +03:00
tumGER c8cce79f61 Skeleton of ERR 2018-12-23 15:27:06 +01:00
Ave Ozkal 52ef8cfe93
Add links and meme cogs
Now it's time to implement big stuffs :)
2018-12-23 16:48:15 +03:00
Ave Ozkal 3f3147bf17
Get membercount and rules commands done 2018-12-23 16:39:26 +03:00
Ave Ozkal 0517f5f97a
Some wording improvements 2018-12-23 16:25:34 +03:00
Ave Ozkal 7186746075
config: Actually populate role ids with real roles 2018-12-23 16:19:33 +03:00
Ave Ozkal 74f4c11f28
Switch to .py config 2018-12-23 16:13:39 +03:00
Ave d6b217e4c4 pull: Fix a long standing bug on failed loads 2018-11-10 23:26:18 +00:00
Nevexo 52ac659549 Change RoleBot to the username of the bot in the "invite" command. 2018-11-10 19:40:49 +00:00
Ave O 8db1d66996
fix 2 bugs 2018-04-20 04:53:35 +03:00
Ave O 05d83f2553
Initial commit 2018-03-09 01:47:53 +03:00