Commit graph

117 commits

Author SHA1 Message Date
mrjvs
2910490aab add node_modules to dockerignore 2022-05-08 15:08:39 +02:00
mrjvs
12ed0d06c5 update dockerfile to nodejs 18 2022-05-08 15:04:50 +02:00
mrjvs
c88c8c2533 dockerize yamamura 2022-05-07 23:28:22 +02:00
Jonathan Barrow
5563cb5e10 typo 2021-09-11 10:44:11 -04:00
Jonathan Barrow
dd9ba15d53 Added join welcome message 2021-09-11 10:39:55 -04:00
Jonathan Barrow
f09a013a50 Update bot.js 2021-04-14 22:29:44 -04:00
Jonathan Barrow
deb6140594 Rewrite
Rewrote in Node and added slash commands
2021-04-14 22:22:47 -04:00
superwhiskers
f134d72ad8 rewrite yamamura in go (#28)
* rewrite yamamura in go

* add license + keypair + readme
2019-03-15 13:24:31 -04: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
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
superwhiskers
db7dae1b9b
Merge pull request #22 from ThatNerdyPikachu/patch-12
Fix Yamamura in DMs (yes, again)
2018-03-08 16:57:47 -06:00
Pika
8b9ca1576d
Fix Yamamura in DMs (yes, again) 2018-03-08 17:54:41 -05:00
superwhiskers
3763cb62a5 merge for superwhiskers 2018-03-08 14:24:44 -06: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
superwhiskers
a9f72d2a8f
Merge pull request #20 from ThatNerdyPikachu/patch-10
Fixed whole bot
2018-03-07 19:09:57 -06:00