Commit graph

9 commits

Author SHA1 Message Date
noirscape b9255215c1 This implements the latest breaking changes to cogs from d.py rewrite.
They're all syntax changes and renames. I've checked twice to make sure
I didn't miss any listeners or classes.

For future reference:
- Do `from discord.ext.commands import Cog` in all new cogs.
- Subclass the new class to Cog.
- New listeners should get the `@Cog.listener()` decorator.

Conveniently, there weren't any pre-execution methods that have been
renamed.
2019-02-28 23:10:30 +01:00
Ave Ozkal df82e6268d
Add a new type of log channels: modlog 2019-02-05 01:54:40 +03:00
Ave Ozkal 4a54e2caa8
Before packing events into a list, check if it's already one already 2019-01-15 04:51:08 +03:00
Ave Ozkal 297a3156bf
userinfo: Show userlog embed also
Also: move things around a bit
2019-01-15 04:48:23 +03:00
Ave Ozkal 48a22c5fa8
Push some stuff I forgot to push 2019-01-07 11:49:19 +03:00
Ave Ozkal d9776ecba9
Robocronp: Add robocronp and some timed commands
- Added: .timemute
- Added: .timeban
- Added: .listjobs
- Added: .deletejob
- Many bugfixes are also included~

You'll need to restart your copy of robocop-ng after pulling this.
2018-12-28 00:36:18 +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