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
Tristan Gosselin-Hane
ee8eeb1640
Implemented hacky auto-reconnect from kick because of a pyCraft bug.
7 years ago
Tristan Gosselin-Hane
54121ad015
Respawn the player automatically on death
7 years ago
Tristan Gosselin-Hane
68d2055707
Added SQLAlchemy and started tracking bot state in database.
...
Moved the config management to its own class.
7 years ago
Tristan Gosselin-Hane
bae4f0e42a
Move configuration to seperate file
7 years ago
Tristan Gosselin-Hane
e9e3b3239c
Removed some left-over example code
7 years ago
Tristan Gosselin-Hane
99e7c7d67a
Initial proof of concept for bi-directional chat
...
TODO: Link mc users to discord so that sent messages arent nested under
the bot user's username.
TODO: De-coupe the minecraft and discord code-bases and find a way to
get the interactive minecraft prompt working again
7 years ago
Tristan Gosselin-Hane
18a22fa71e
Send chat messages as embeds to prevent people from spamming pings in messages
7 years ago
Tristan Gosselin-Hane
e1aa021896
Initial commit
7 years ago