Tristan Gosselin-Hane
2c151541cb
Consistent naming for elasticsearch logging methods
7 years ago
Tristan Gosselin-Hane
099d970302
Don't accept join events until the bot's join even on 1st login
7 years ago
Tristan Gosselin-Hane
5b81b32687
Fixed a few bugs relating to elasticsearch player count
...
* Log the bot's connection
* Ignore duplicate bot connection packets
* Simulate decrementing player count for missed disconnect events
7 years ago
Tristan Gosselin-Hane
b8b54f007f
Greatly improved bot reconnection handling
...
* No more time-based hacks
* End of tab-list back-fill is detected by getting the bot's own
tab-list add packet
* Users that have disconnected since the bot's disconnected now get
their disconnection event logged to elasticsearch once the bot is able
to reconnect to the server
7 years ago
Tristan Gosselin-Hane
8049701c43
Only alter tab list content when formatting a message to send
7 years ago
Tristan Gosselin-Hane
ab7e09e045
Escape some markdown characters in messages sent from the discord side
7 years ago
Tristan Gosselin-Hane
debf2d9ff9
Strip out bold italics and escape char in discord messages
7 years ago
Tristan Gosselin-Hane
51cad28ab3
Add tablist header and footer to mc!tab command
...
* Waiting for upstream support from pyCraft so this uses my fork
7 years ago
Tristan Gosselin-Hane
d31913134a
Properly masquerade chat messages sent via the bridge to elasticsearch
...
Conserve the original nested message in the unformatted chat field
7 years ago
Tristan Gosselin-Hane
f24d730294
Add optional analytics logging to elasticsearch
7 years ago
Tristan Gosselin-Hane
05baa28a8c
Don't spam the discord side with join messages while the tab list is
...
being backfilled
Fix player list bug
7 years ago
Tristan Gosselin-Hane
31c36b4d71
Added half-done tab list implementation
7 years ago
Tristan Gosselin-Hane
d8b152576c
Fixed mojang uuid lookup array index
7 years ago
Tristan Gosselin-Hane
21e2420eaf
Add basic rate-limiting to combat spam
7 years ago
Tristan Gosselin-Hane
452e9c89bb
Clean up database sessions properly
7 years ago
Tristan Gosselin-Hane
e90ae8c45f
Better handling of email usernames
7 years ago
Tristan Gosselin-Hane
2ca84c7fe8
Automatically provision webhooks
...
Closes #5
7 years ago
Tristan Gosselin-Hane
102a2afa4f
Cleanup unused imports
7 years ago
Tristan Gosselin-Hane
894dd7885b
PEP-8 Again!
7 years ago
Tristan Gosselin-Hane
535cbfd215
Fixed the padding for chat message cutoff
7 years ago
Tristan Gosselin-Hane
11aa8757a6
Don't give up on reconnecting if the server is down at the very start
...
(in offline mode this time)
7 years ago
Tristan Gosselin-Hane
fb820cd17e
Full PEP-8 compliance (for real this time)
7 years ago
Tristan Gosselin-Hane
23977145c8
Handle discord permission errors when users have DMs disabled
7 years ago
Tristan Gosselin-Hane
937866234d
Don't give up on reconnecting if the server is down at the very start
7 years ago
Tristan Gosselin-Hane
cae3404ca9
Some PEP-8 styling improvements
7 years ago
Tristan Gosselin-Hane
e662228a4b
Increase reconnect timeout to work around spigot connection throttling
7 years ago
Tristan Gosselin-Hane
c2b32f1363
Get join/leave events from tablist and correct improper use of bidict
7 years ago
Tristan Gosselin-Hane
af98f87f53
Fix the join/leave regex unintentionally letting people fake join/leave
...
events with chat messages
7 years ago
Tristan Gosselin-Hane
26e4b8fa2b
Ignore some more unicode characters that are invisible in minecraft chat
7 years ago
Tristan Gosselin-Hane
43547ff050
Strip emoji from inbound minecraft messages
7 years ago
Tristan Gosselin-Hane
bf48692129
Added someone ugly way of "sanitizing" messages sent through minecraft
...
chat
7 years ago
Tristan Gosselin-Hane
ac940d02e5
Added lots of discord bot functionality
7 years ago
Tristan Gosselin-Hane
997d99e8ee
Remove some legacy cruft.
7 years ago
Tristan Gosselin-Hane
ff4d001d81
Basic bidirectional chat implementation complete!
7 years ago
Tristan Gosselin-Hane
cbf018c1dd
Added new uuid<->username cache using bidict
7 years ago
Tristan Gosselin-Hane
1bd2e399ae
Migrate to the "rewrite" branch of discord.py
...
This branch contains new additions we need such as webhook management
7 years ago
Tristan Gosselin-Hane
246ad5367d
Fix linting problem due to unused import
7 years ago
Tristan Gosselin-Hane
8dbeb7b4e4
Fixed method signature mismatch causing disconnect handler not to fire
7 years ago
Tristan Gosselin-Hane
46277944aa
Added embedded minecraft authentication server to map minecraft
...
accounts to discord accounts.
7 years ago
Tristan Gosselin-Hane
c225482452
Fixed bug that crashed the client when a user logged off
...
Mojang does not provide the username in the remove player list packet
7 years ago
Tristan Gosselin-Hane
c2af3a6c3c
Add mcstatus library and only re/connect to server if it is online.
7 years ago
Tristan Gosselin-Hane
6a5c7746b4
Don't assign logger function which doesn't return to dummy variable
7 years ago
Tristan Gosselin-Hane
d7ba5bc0dc
Fix broken indents
7 years ago
Tristan Gosselin-Hane
8fc8113200
Move respawn message to debug log level
7 years ago
Tristan Gosselin-Hane
f38e079ac9
Tolerate Mojang API failures
7 years ago
Tristan Gosselin-Hane
3ad569b1d2
Implement python logging facility
...
Closes #8
7 years ago
Tristan Gosselin-Hane
ff1a1071f9
Populate the UUID cache using the tablist instead of querying API
7 years ago
Tristan Gosselin-Hane
51779ab551
Remove reconnect spaghetti code now that pyCraft issue #109 is resoved!
7 years ago
Tristan Gosselin-Hane
6e9be786d2
Get rid of option parser and load everything from the config file
7 years ago
Tristan Gosselin-Hane
daffd4c5ab
More disconnect handling
7 years ago