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
2d2adfddc4
logs: one more susp entry
2019-02-27 12:10:09 +03:00
Ave Ozkal
0c89864a96
logs: turns out exefs is okay as well
2019-02-27 11:21:29 +03:00
Ave Ozkal
e4bfd7daf9
logs: ok, but add ok words too
2019-02-27 11:19:12 +03:00
Ave Ozkal
7840c16172
logs: Don't hardcode name "ReSwitched"
2019-02-27 11:14:54 +03:00
Ave Ozkal
87ee51b187
logs: Add susp word checks 👀
2019-02-27 11:12:07 +03:00
Ave Ozkal
62b57f4fdb
logs: Add do_nickcheck (unused rn)
2019-02-27 11:03:45 +03:00
Ave Ozkal
d49c9313d5
invitespy: don't hardcode, part 2
2019-02-26 16:11:52 +03:00
Ave Ozkal
9ac3421d52
invitespy: bugfix
2019-02-26 16:08:43 +03:00
Ave Ozkal
78bf147bdc
invitespy: bugfix
2019-02-26 16:06:38 +03:00
Ave Ozkal
d246e2f6ec
Implement #22
2019-02-26 16:03:21 +03:00
Ave Ozkal
64ed4dc19e
verification: %2 chance to act more human
2019-02-26 14:49:18 +03:00
Ave Ozkal
66e78f41dd
verification: more! snark!
2019-02-25 13:09:18 +03:00
Ave Ozkal
84bb388906
verification: cleaner snark
2019-02-25 12:28:37 +03:00
Ave Ozkal
e0bbc17a14
verification: advanced snarkification
2019-02-25 12:21:31 +03:00
Ave Ozkal
8d0e87ff40
verification: add pebkac snark
2019-02-25 12:19:12 +03:00
Ave Ozkal
7629952d6f
verification: ave can't to await
2019-02-25 12:17:35 +03:00
Ave Ozkal
59ea02d2cf
verification: bad bot.
2019-02-25 12:16:26 +03:00
Ave Ozkal
07dc7587f5
warn: Include auto-ban/kicks in modlog
2019-02-25 12:10:06 +03:00
noahc3
ce87b240cf
Update sdsetup guide links ( #20 )
2019-02-25 08:24:17 +01:00
leo60228
62beb143f1
Use image instead of thumbnail
2019-02-23 16:54:11 -05:00
leo60228
ae83ceffd0
Add ™ symbol in title of ReSwitched Silver™ embed
2019-02-23 16:16:55 -05:00
leo60228
811e383134
Use embed for ReSwitched Silver™
2019-02-23 16:13:00 -05:00
leo60228
db9cb40b77
Add Reswitched Silver™
2019-02-22 16:56:14 -05:00
Ave Ozkal
0384f0aad9
Revert "push local changes and hope that nothing breaks"
...
This reverts commit e85ecd41e5
.
IT BROKE EVERYTHING
2019-02-22 20:09:58 +03:00
Ave Ozkal
e85ecd41e5
push local changes and hope that nothing breaks
2019-02-22 04:10:52 +03:00
Tyler True
46fa205d93
Add windows newlines to allowed/close names.
...
... and Mac OS Classic? Who knows, someone might be using it still. [ ͡° ͜ᔦ ͡°]
2019-02-21 02:22:11 -05:00
Tyler True
2e41a8aa3e
Add sha256 verification to welcome processing.
...
Works the same as the md5 "not using the right process." codepath.
Could surely be optimized to be checked alongside md5 and return the same message.
2019-02-21 02:03:35 -05:00
Ave Ozkal
319a97b77f
Revert "guide: add back noirscape's guide"
...
This reverts commit 9a2fbb2f89
.
2019-02-21 02:20:23 +03:00
Ave Ozkal
9a2fbb2f89
guide: add back noirscape's guide
2019-02-21 02:18:44 +03: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
tomGER
e66a178b11
Update err.py
2019-02-20 13:11:55 +01:00
Ave Ozkal
f6302f710c
setguildicon: make filename grabbing slightly more reliable
2019-02-20 14:33:29 +03:00
Ave Ozkal
16ae2615bb
setguildicon: Fix logging
2019-02-20 14:32:19 +03:00
Ave Ozkal
6e64367efa
setguildicon: add
2019-02-20 14:21:50 +03:00
Ave Ozkal
0a3a6df35b
community: fix typo
2019-02-18 19:19:43 +03:00
Ave Ozkal
5a5d5c4125
community: fix URL
2019-02-18 19:18:57 +03:00
Ave Ozkal
db7fa9b7b2
community: add commandcommunity: add command
2019-02-18 19:17:46 +03:00
結城イヴ
fdbad1d4ee
Oops
2019-02-16 22:01:51 -05:00
結城イヴ
3db7d8ca7f
Update verification.py
2019-02-16 22:00:18 -05:00
Ave Ozkal
b7fcaa5c20
reset: move logs to server logs
2019-02-16 16:55:26 +03:00
Ave Ozkal
a07a89992e
common: export haste properly
2019-02-15 01:19:16 +03:00
Ave Ozkal
dc39f42e12
logs/common: haste bugfixes
2019-02-15 01:17:34 +03:00
Ave Ozkal
c5b518e9c0
log: welp I forgot to await
2019-02-15 01:14:09 +03:00
Ave Ozkal
014c915590
logs: ignore embed events, send too long edits/deletes to pastebin
...
Also move default pastebin server from hastebin to mystbin.
2019-02-15 01:10:47 +03:00
Hikari-chin
93e278daea
Revert "Add functionality for printing rules to a rules channel."
...
This reverts commit 16c3bb8779
.
2019-02-08 13:55:39 -05:00
Ave
ec14b4ed6e
Merge pull request #12 from kitlith/rules
...
Add functionality for printing rules to a rules channel.
2019-02-08 12:17:17 +00:00
tumGER
0a045c9f61
[ERR] Split the command in 3 commands
2019-02-07 18:34:47 +01:00
tumGER
88a3dd1f33
[ERR] Enhance Ave's F
2019-02-07 18:22:10 +01:00
Ave Ozkal
e779903ac1
I don't spy with my eye... bot posts
2019-02-05 23:52:09 +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
b1cb4dba8f
ahh I love the smell of broken code in the morning
2019-02-03 23:43:52 +03:00
tomGER
16c508c48f
\n
2019-02-03 00:53:07 +01:00
tomGER
ad1875fc5a
Readd Natin's guide till title=app is a bit more useful
2019-02-03 00:52:46 +01:00
Kitlith
16c3bb8779
Add functionality for printing rules to a rules channel.
2019-02-02 15:24:00 -08:00
tomGER
a627a121cc
Update .guide command
...
Because these are common questions
2019-02-02 21:52:22 +01:00
Ave Ozkal
47a4aeb4f6
BREAKING: Add channel cleaning and deleted/edited message logging
...
Please update your config.py before merging this!
2019-01-29 13:51:43 +03:00
Ave Ozkal
2d4c75463e
err: F on ban
2019-01-29 13:50:04 +03:00
Ave Ozkal
ebe175d2ff
hotfix
2019-01-28 02:04:24 +03:00
結城イヴ
e93dcbf298
Update verification.py
2019-01-27 17:59:25 -05:00
Ave Ozkal
e651490a34
verification: Add a sleep after footer messages too
...
those get sent in incorrect order from time to time
2019-01-23 00:11:32 +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
45f81c62c0
Merge pull request #8 from thedax/new-rule-9-10
...
Update robocop to reflect new rules
2019-01-15 03:03:06 +02:00
The Dax
750e51b50a
Update robocop to reflect new rules
2019-01-14 19:47:30 -05:00
Ave Ozkal
ab3ac0db6c
Merge branch 'master' of github.com:aveao/robocop-ng
2019-01-13 16:34:14 +03:00
Ave Ozkal
3af2f18d6e
hackban: Fix softban alias
2019-01-13 16:33:35 +03:00
tomGER
86b9c61f42
Add SDSetup
2019-01-12 23:58:27 +01:00
jakibaki
eef8bdb49e
Remove switchguide.xyz as it's no longer maintained
2019-01-12 23:55:25 +01:00
Ave Ozkal
0c0cb7fb88
eta: added command
2019-01-10 15:48:46 +03:00
Ave Ozkal
34279fe7c1
headpat: added command
2019-01-10 15:46:15 +03:00
Ave Ozkal
eb9a91e567
gild: let's not make it sound antisemitic
2019-01-09 01:53:21 +03:00
Ave Ozkal
18e6f9db69
gild: add
2019-01-09 01:52:57 +03:00
Ave Ozkal
47586301d7
guide: Fix MD
2019-01-08 11:32:00 +03:00
Ave Ozkal
e401a7ba9e
Add fullhb ram thing to guide command
2019-01-08 11:30:25 +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
65989b4c19
xy: update text
2019-01-05 23:29:12 +03:00
Ave Ozkal
841e120a0b
xy: Added command
2019-01-05 23:27:47 +03:00
Ave Ozkal
03291469be
Fix reminds in DMs
2019-01-02 02:15:53 +03:00
Ave Ozkal
ef97d64002
btwiuse: extend
2018-12-31 02:16:20 +03:00
Ave Ozkal
b069dd90c0
remindlist: fix
2018-12-31 02:13:04 +03:00
Ave Ozkal
ff9d39d199
remind: alias remindme
2018-12-31 02:08:38 +03:00
Ave Ozkal
203761856e
remind: add cooldowns; also add botlog channel
2018-12-31 02:05:40 +03:00
Ave Ozkal
c79093eb57
remind: delete messages after 5s
2018-12-31 01:53:55 +03:00
Ave Ozkal
92cd42bb1a
remind: i hate all of you (minimum limit = 5)
2018-12-31 01:51:21 +03:00
Ave Ozkal
1412564ab3
gz @jakibaki on breaking robocronp
2018-12-31 01:43:48 +03:00
Ave Ozkal
3101da2bde
remind: Quick style change
2018-12-30 23:38:48 +03:00
Ave Ozkal
eac078e1b9
remind: add remind, make crons more robust
2018-12-30 23:36:11 +03:00
Ave Ozkal
a83c0ed94b
meme: add btwiuse
2018-12-29 22:22:15 +03:00
Ave Ozkal
04661d3922
admin: allow cogs with _ in their name to be auto-reloaded
2018-12-29 22:13:42 +03:00
Ave Ozkal
bf897762e6
peng
2018-12-29 22:11:22 +03:00
Ave Ozkal
4e1f59f3fc
ping: make stuff more consistent
2018-12-29 22:09:49 +03:00
Ave Ozkal
4d27ab9af5
mod_timed: Allow non-hours as duration values
2018-12-29 22:07:58 +03:00
Ave Ozkal
d57f4b9db0
Merge branch 'master' of github.com:aveao/robocop-ng
2018-12-29 10:48:00 +03:00
Ave Ozkal
1cc8c9a9ee
robocronp: send data files hourly
...
This aims to reduce data loss
Also, stopped calling these config files and started calling them data files
2018-12-29 10:47:08 +03:00
Ave
14a8020ccf
outstandingmove: add
2018-12-29 05:32:17 +02:00
dark-samus
a05c2b8ce7
Switch errors: Set 'err_description' var unconditionally before searching
2018-12-27 20:59:37 -05:00
Ave Ozkal
f637e646fd
Aliases on exit
2018-12-28 00:50:18 +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
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