Commit graph

24 commits

Author SHA1 Message Date
leo60228
8d899cf9a7 Escape Markdown in clean_content calls
Fixes #74
2020-10-01 20:03:41 -04:00
Ave Ozkal
fd845ecb40
Do a black pass and add black to contributing guidelines
FORK MAINTAINERS: I'm so, so sorry, but this was planned since forever.
If you need help integrating this, feel free to contact me.
2020-04-21 01:05:32 +03:00
Ave
accace3b14
Merge pull request #25 from noirscape/cog-fixes
This implements the latest breaking changes to cogs from d.py rewrite.
2019-03-01 06:51:49 +00:00
Robin Lambertz
3400b94c7c Generic changes (#26)
* Make lockdown configuration more generic

* pin: Add reaction pinning functionality
2019-03-01 07:07:47 +01:00
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
4ee1fbd7e8
lockdown: gae -> age 2019-02-21 01:21:40 +03:00
Ave Ozkal
807dd882af
lockdown: reduce code repetition 2019-02-21 01:20:03 +03:00
Ave Ozkal
f2e210b9e3
lockdown: https://elixi.re/i/ohha7362.mp4 (fixes overrides - hopefully) 2019-02-21 01:14:15 +03:00
Ave Ozkal
df82e6268d
Add a new type of log channels: modlog 2019-02-05 01:54:40 +03:00
Ave Ozkal
b29dab5e9c
Fix channel perm issues on lock and unlock 2019-02-03 23:49:36 +03:00
Ave Ozkal
2737adc8c6
lockdown: Fix a bug where staff would be muted too 2019-01-07 11:54:13 +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
338aa80c58
Move checks and errcodes to a new folder called helpers 2018-12-26 14:36:55 +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
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
bc85174a51
lockdown: Add lockdown 2018-12-23 23:33:03 +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
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
832524eb56 Implement lock 2018-12-23 20:06:32 +01:00