Commit graph

83 commits

Author SHA1 Message Date
Superwhiskers
6930b653ff much better readme 2018-03-23 23:16:43 -05:00
Superwhiskers
e1becd09ab mail file almost done 2018-03-21 17:37:16 -05:00
superwhiskers
68eeef9155 another issue down 2018-03-21 13:04:31 -05:00
superwhiskers
7fd842fcf8 increase message count for cache 2018-03-21 12:48:18 -05:00
superwhiskers
b3f437634a fixed some features, added new ones. 2018-03-21 12:24:56 -05:00
superwhiskers
9290056435 formatted code with black (https://github.com/ambv/black) 2018-03-20 11:27:40 -05:00
Martín (Netux) Rodríguez
f3dc192d97 Made it say "welcome to the game" when the user mentions "uselesslypingme" for the first time 2018-03-17 19:24:56 -03:00
Martín (Netux) Rodríguez
134c0ef7e2 Added "game role" / uselesslypingme mention game
Users who mention the "uselesslypingme" role get the role.
The idea is that once you "troll" the other people with the role, you join the list of people to be "trolled" by the next user that mentions the role.
2018-03-16 19:41:29 -03:00
Martín (Netux) Rodríguez
954962185c Slightly improve command regexp
- Use double slash for "\s"
- Check more than just one whitespace
2018-03-16 19:24:05 -03:00
Martín (Netux) Rodríguez
0ac440c4f9 Made dmcheck into a lamda
This way pyling doesn't complain
2018-03-16 19:21:20 -03:00
Martín (Netux) Rodríguez
d1ffa19963 Extract logging messages into a function
- Avoids repetition
- Cleaner code

Also, saving output.log as utf-8 and only sanitizing the string given to `print()`
2018-03-16 19:06:18 -03:00
superwhiskers
5c41a5c007 guess what, message edit detection works :) 2018-03-16 13:38:28 -05:00
superwhiskers
6295ff8483 linted the code and added logging of message edits 2018-03-14 14:52:31 -05:00
Martín (Netux) Rodríguez
81c0a0ee10 Fix command() matching "{prefix}{command}anyothercharacters" 2018-03-14 00:42:21 -03:00
superwhiskers
6d4f22a67a a merge, i guess 2018-03-13 19:33:20 -05:00
superwhiskers
c58e2a1f6f even better bugfix 2018-03-13 19:32:30 -05:00
Pika
68e6a79f93
atleast the bot is fixed now
but regex is sorta broken, only detecting beginning
for example, ``.statusssssss`` would work.
pinging @Netux to help with regex, since he is good at regex
2018-03-13 20:28:49 -04:00
Pika
639bee8a9c
mwahahaha 2018-03-13 20:23:27 -04:00
Superwhiskers
6800425bbf forgot to test it 2018-03-13 17:48:44 -05:00
Superwhiskers
8dc4dc5ecb change that now playing message 2018-03-13 17:47:48 -05:00
Superwhiskers
77d4ddd7a8 that bug is fixed 2018-03-13 17:36:19 -05:00
Pika
5cdca55cdc
toggle elsewhere 2018-03-13 17:13:11 -04:00
Pika
3e8c7600e7
bad bug, out! 2018-03-13 17:09:25 -04:00
Pika
e2329e0898
add modmail optout 2018-03-09 13:18:25 -05:00
Pika
9b994c65d1
ffs ofc it was a typo 2018-03-08 22:07:22 -05:00
Pika
6b54cab9aa
Coo, fixes bug
senpai notice me
2018-03-08 21:56:52 -05:00
Pika
7df03b6b97
Update Yamamura.py 2018-03-08 21:47:56 -05:00
Pika
e0a85b508d
Update Yamamura.py 2018-03-08 21:39:26 -05:00
Pika
bd07425324
i think i fixed it 2018-03-08 21:34:45 -05:00
Pika
d14a825e5a
Fix for confirmation triggering send 2018-03-08 21:22:51 -05:00
Pika
52159b213b
Adds two things; see description
1. Adds an indicator for moderators whenever they receive modmail
2. Adds a confirmation message for both modmail commands, confirming with the user to send the message
2018-03-08 20:31:46 -05:00
Pika
8b9ca1576d
Fix Yamamura in DMs (yes, again) 2018-03-08 17:54:41 -05:00
Pika
4dba5b7832
final changes 2018-03-08 14:22:52 -05:00
Pika
77f25d1499
It's right here? 2018-03-08 11:56:54 -05:00
Pika
7769cc199f
Actually fixes bot this time
100% tested and working
2018-03-08 10:04:55 -05:00
Pika
21ee2a1706
add status to help since i accidentally removed it 2018-03-07 18:29:23 -05:00
Pika
7a4013370a
Fixed whole bot 2018-03-07 18:24:50 -05:00
Miguel Piedrafita
1341f158b5
Revert #17
This won't fix linux (GNU/Linux), but will make the rest of the bot work (or it should)
2018-03-07 23:03:45 +01:00
Pika
57fe4b73a2
Fixes linux 2018-03-07 16:55:41 -05:00
superwhiskers
71880a76fd
Merge pull request #15 from ThatNerdyPikachu/patch-7
Added status command
2018-03-07 15:51:33 -06:00
superwhiskers
0bd49a61e8
Merge pull request #16 from ThatNerdyPikachu/patch-8
Fixes Yamamura not working in DMs
2018-03-07 15:51:19 -06:00
Pika
5be5d8293d
Update Yamamura.py 2018-03-07 16:47:53 -05:00
Pika
ce4eb16f0b
Jon doesn't return JSON!? Fine, I'll deal with his "text/html" shit /s 2018-03-07 15:28:30 -05:00
Pika
54fe4fe5a8
Fixes me being dumb
Thanks @Netux for the head up
2018-03-07 15:11:55 -05:00
superwhiskers
d10b0f1ba7 make yamamura not send memes in spam channels (excluding the ayy message) 2018-03-07 13:10:10 -06:00
Pika
4811176516
Add the command to `help` 2018-03-07 12:10:52 -05:00
Pika
f6f7e4886c
Kill status command in this PR to remove merge conflicts 2018-03-07 11:58:52 -05:00
Pika
bc655c4263
Fixes Yamamura not working in DMs
Thanks to Mario for reporting this!
2018-03-07 11:28:06 -05:00
Pika
9f7da93b97
Added status command
MORE. PRS!
MOOOOOORRRRRRREEEEEEEEE!
(Coo, this command checks the status of the offical Pretendo servers!)
2018-03-07 10:43:50 -05:00
Pika
3b6fa7eeda
Fix logging and Unicode characters not liking each other 2018-03-07 10:21:34 -05:00