Commit graph

329 commits

Author SHA1 Message Date
Ave Ozkal 170116a641
Align text (it bugs me)
Literal, medical autism 👌
2019-04-24 10:50:46 +03:00
Ave Ozkal 72fd1c78bb
Fix typos (or else people will be unhappy) 2019-04-24 10:49:45 +03:00
Ave Ozkal 4cf7a6575c
Clean up verification a bit, modularize it, reset on start and daily 2019-04-24 10:47:07 +03:00
Ave Ozkal 81f8fd875f
Fix the randomized hash algorithm 2019-04-24 10:24:59 +03:00
結城イヴ a1bc115621 hash_choice needs to change every reset, not every boot 2019-04-24 01:24:26 -04:00
結城イヴ cccfe27310 oops v2 2019-04-24 01:03:03 -04:00
結城イヴ 95d69d7979 Fix the wrong hash algo check and make it a case of the existing elif chain 2019-04-24 01:00:33 -04:00
結城イヴ a7e4575049 Oops 2019-04-23 23:58:17 -04:00
結城イヴ 20374bb5b8 Randomize hash choice 2019-04-23 23:37:58 -04:00
Ave Ozkal f2438bee94
Add edgy quote to verification 2019-04-23 19:12:44 +03:00
Oreo639 ae9925f69c
Show dderr value number if not in list 2019-04-19 00:32:55 -07:00
tumGER 68dfc9fbda errcode update (Thanks to Simon, Xor, Roothorick and many more) 2019-04-15 11:48:59 +02:00
The Dax c21a259c8c Adjust message as requested 2019-04-11 00:50:41 -04:00
The Dax b037ac41bf Remove deprecated full RAM guide: as of ams 0.8.6, just hold R while running a game/app to get full RAM. 2019-04-10 19:04:01 -04:00
結城イヴ 302be2c945
Per 564346741982494726 2019-04-07 04:00:11 -04:00
結城イヴ 190d01e3e7
Rule 10 removal
redundant
2019-04-06 01:37:24 -04:00
結城イヴ f73e762c84
Update verification.py 2019-04-06 01:34:46 -04:00
結城イヴ 6c9e6ebe79
Update Rule 9 2019-04-06 01:32:02 -04:00
結城イヴ cb550be447
Revert previous commit
Discord ignores escapes, code blocks, even removing the http header and still shows the invite embed
2019-03-19 02:36:49 -04:00
結城イヴ 8b01f24058
Escape invite link used
Prevents embed spam for every member join
2019-03-19 02:14:23 -04:00
Ave Ozkal 05f66e71ff
logs-spy: don't lowercase invite URLs 2019-03-06 00:55:06 +03:00
Ave Ozkal 921ab28190
logs-spy: ignore messages by staff 2019-03-05 20:33:19 +03:00
Ave Ozkal befa18c4de
logs-spy: don't ignore space when cleaning 2019-03-05 20:30:55 +03:00
Ave Ozkal 9d9c8d2104
logs: reduce spam 2019-03-04 19:34:28 +03:00
Ave Ozkal e6f7143405
logs: ignore cases on hellgex 2019-03-03 22:41:06 +03:00
Ave Ozkal a3514c3f9a
logs: highlight bad words 2019-03-03 22:39:06 +03:00
Ave Ozkal 841fe43104
logs: document susp words 2019-03-03 21:08:46 +03:00
Ave Ozkal 374b1e8437
Embed messages that are spied on 2019-03-03 21:02:08 +03:00
leo60228 65fad27253 Add .communitycount 2019-03-03 12:23:11 -05:00
Ave e984551966
Merge pull request #27 from roblabla/switchroot
Add invite correlation system
2019-03-03 14:43:57 +00:00
roblabla 23c7e83be5 Fix style in pin.py 2019-03-03 15:19:16 +01:00
roblabla 2ccc10174d Fix style in invites.py and logs.py 2019-03-03 15:12:30 +01:00
roblabla 6760508e99 Unpin old pins if we have more than 50 2019-03-03 14:51:40 +01:00
roblabla 4deb40b67c Implement unpin command 2019-03-03 14:51:23 +01:00
roblabla 1fe7e21986 Implement gist-based pinboard - creates a gist for each channel that allows user pins 2019-03-03 14:29:46 +01:00
The Dax 755bd3c370 rei -> reinx 2019-03-02 20:58:44 -05:00
roblabla 4e0e26b1f9 Add invite correlation system 2019-03-03 00:45:48 +01:00
Ave Ozkal 4734df7b48
Various improvements 2019-03-02 21:00:55 +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 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