Commit graph

126 commits

Author SHA1 Message Date
superwhiskers
0fb78bdf0e make the settings table act like a key-value store and make other files utilize it 2018-07-03 17:14:36 -05:00
Superwhiskers
ea3369edc6 remove doc.py and refactor docstrings in the server.py and utils.py files 2018-06-13 22:51:02 -05:00
Superwhiskers
2b5c90312d fixing up some more docstrings and adding some more things 2018-06-13 01:16:41 -05:00
Superwhiskers
1f85f573cb some formatting updates, still working on them 2018-06-12 17:11:53 -05:00
Superwhiskers
fa03a349e2 i'm tired, going to sleep now, just pushing some changes. goodnight! 2018-04-07 00:52:05 -05:00
Superwhiskers
2d968c8a4a i'm stupid, i needed to add self as a param 2018-04-07 00:32:20 -05:00
Superwhiskers
ecfc00e572 made the server class 2018-04-07 00:31:19 -05:00
Superwhiskers
fc53862cd3 add some stuff i had beforehand before working on it 2018-04-06 23:35:35 -05:00
Superwhiskers
7d1828d867 logging class 2018-03-23 23:52:33 -05:00
Superwhiskers
afd2cdaa60 sadily, my editor doesn't have github flavored markdown 2018-03-23 23:19:39 -05:00
Superwhiskers
6930b653ff much better readme 2018-03-23 23:16:43 -05:00
Superwhiskers
2f878afb71 hey, i think i have this thing working 2018-03-23 22:47:13 -05:00
superwhiskers
93bb0134dc optimize the *flake function so it doesn't need a lambda 2018-03-22 10:12:45 -05:00
Superwhiskers
2eedd9e06c my bad, i should've already had these 2018-03-21 22:07:26 -05:00
Superwhiskers
0136417477 introducing, whiskerflake 2018-03-21 22:03:37 -05:00
Superwhiskers
e1becd09ab mail file almost done 2018-03-21 17:37:16 -05:00
Superwhiskers
d071cbccfd notice update 2018-03-21 15:48:16 -05:00
Superwhiskers
6c0162b219 guess what, this commit changes nothing, but this is the start before i branch off into the <nuyama> branch. wish me luck! 2018-03-21 15:39:35 -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
superwhiskers
c0f4df729a
Merge pull request #26 from PretendoNetwork/game-role-msg
Added game role message: "welcome to the game"
2018-03-17 17:29:31 -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
Pika
9f8258f123
Merge pull request #25 from PretendoNetwork/game-role
@uselesslypingme mention game
2018-03-16 18:43:12 -04: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
Pika
61a5500339
Merge pull request #24 from PretendoNetwork/cleaning
Some code cleaning and fixes
2018-03-16 18:30:17 -04: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
Pika
8f2109dc75
Merge pull request #23 from netux/command-regexp-fix
Fix `command()` matching "{prefix}{command}anyothercharacters"
2018-03-14 00:09:09 -04: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
0cbd71f7ca
add new key to example config 2018-03-09 13:18:57 -05: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