Tristan Gosselin-Hane
0f0f300ab4
Add setup.py
6 years ago
Tristan Gosselin-Hane
f4d6be681f
Formatting fixes
6 years ago
Tristan Gosselin-Hane
b2cf991f5b
Run flake8 with tox and pipenv
6 years ago
Tristan Gosselin-Hane
1e0ef1426f
Lint code with Flake8
...
(ignore line length issues for now)
6 years ago
Tristan Gosselin-Hane
8560604c29
Fix mc!stopchathere command being broken
...
Fix webhook deletion logic
6 years ago
Tristan Gosselin-Hane
4b34297695
Refactor project structure
6 years ago
Tristan Gosselin-Hane
661332250d
Update dependencies
...
Add flake8 in development for better linting
6 years ago
Tristan Gosselin-Hane
8db6873f48
Upgrade to python 3.7 and upgrade deps
6 years ago
Tristan Gosselin-Hane
968c4b0dd3
Only force disconnect if we are connected
7 years ago
Tristan Gosselin-Hane
34b5ea94e6
Fixed minecraft uuid lookup method wrongly placing the short UUID into
...
the cache instead of the long uuid.
Closes #25
7 years ago
Tristan Gosselin-Hane
cdeb7f777d
Better logging of incoming and outgoing messages
7 years ago
Tristan Gosselin-Hane
319c0e911a
Actually useful debug output for minecraft exceptions
7 years ago
Tristan Gosselin-Hane
98227c0585
Merge branch 'feature/refactor-logging'
7 years ago
Tristan Gosselin-Hane
104dfbc94c
Refactored loggers to use proper names to aid debugging
7 years ago
Tristan Gosselin-Hane
0da2038b5b
Catch more discord forbidden exceptions
7 years ago
Tristan Gosselin-Hane
1d4eecfff8
Merge branch 'feature/clear-webhook-list-on-reconnect'
7 years ago
Tristan Gosselin-Hane
1b41821bde
Clear the list at the beginning of the reconnection
7 years ago
Tristan Gosselin-Hane
a7ce5bdb40
Clear the list of webhooks when the bot reconnects to discord
7 years ago
Tristan Gosselin-Hane
dd3452015a
Fixed a bug causing all connection events to be logged to ES on login
7 years ago
Tristan Gosselin-Hane
77883d963b
Merge branch 'feature/fix-elasticsearch-connection-sending'
7 years ago
Tristan Gosselin-Hane
ca9eea1b63
Fixed regression: always send elasticsearch post on connection
7 years ago
Tristan Gosselin-Hane
daaddd5a78
Merge branch 'feature/fix-elasticsearch-naming'
7 years ago
Tristan Gosselin-Hane
2c151541cb
Consistent naming for elasticsearch logging methods
7 years ago
Tristan Gosselin-Hane
7963e68ffb
Merge branch 'temp-develop'
7 years ago
Tristan Gosselin-Hane
bb6e5bc8b8
Revert to pyCraft master and update deps
7 years ago
Tristan Gosselin-Hane
8b0a7ecf35
Merge branch 'feature/dont-accept-join-events-on-first-login' into temp-develop
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
2254879d56
Merge branch 'feature/better-player-count-on-reconnect' into temp-develop
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
510a7d47c0
Merge branch 'feature/improve-player-list' into temp-develop
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
54dd3f3747
Merge branch 'feature/escape-some-discord-markdown' into temp-develop
7 years ago
Tristan Gosselin-Hane
4f152bae14
Merge branch 'feature/experimental-pycraft-tablist' into temp-develop
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
b7eaf81ac3
Merge branch 'feature/add-readme'
7 years ago
Tristan Gosselin-Hane
9260b12982
Add more documentation in the README
7 years ago
Tristan Gosselin-Hane
49615070e2
Add initial README documentation
...
* A lot more docs to come...
7 years ago
Tristan Gosselin-Hane
f050efeb63
Always restart the bot and remove accidental line
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
1f4ae6e31a
License under Apache-2.0
7 years ago
Tristan Gosselin-Hane
31c36b4d71
Added half-done tab list implementation
7 years ago
Tristan Gosselin-Hane
fdabf8c00e
Formatted all files
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