Commit graph

174 commits

Author SHA1 Message Date
41f6cc342d Made msgs not send to Discord if cancelled 2016-12-18 12:58:37 +01:00
f7b1090670 Made repeating exceptions only send once 2016-12-18 01:13:09 +01:00
e6dd2ff979 Made the exception itself visible 2016-12-17 12:30:40 +01:00
6a456c20e8 Added new sendTitle overload 2016-12-16 19:47:09 +01:00
cad689a542 Added stack trace filtering 2016-12-16 19:33:23 +01:00
de0fb28747 Added /t cmds for /t list 2016-12-14 22:56:00 +01:00
4500360a02 Readded AFK... 2016-12-12 22:48:37 +01:00
839a90f1f0 Temporarily removing AFK 2016-12-11 20:49:12 +01:00
30266c318e Added AFK messages (#12) 2016-12-11 01:31:16 +01:00
39491efaba Fixed #20 - probably... 2016-12-11 00:46:52 +01:00
0636cb8f33 Partially added #16 2016-12-11 00:41:00 +01:00
fbfa5c9b26 Added YEEHAWs to Discord 2016-12-07 21:19:05 +01:00
6f5bca8993 Made Discord senders use the interface 2016-12-07 17:49:26 +01:00
674c85b136 Added and refactored some things
- Added limit to all messages sent to Discord
- Lowered limit of stack traces as the final message still exceeded
Discord's limit
- Moved common code of the senders to a separate class
- Made broadcasted messages only send once
https://github.com/TBMCPlugins/DiscordPlugin/issues/12
2016-12-07 17:23:40 +01:00
4238a23d39 Fixed occassional echoing 2016-12-07 10:34:32 +01:00
alisolarflare
2026e733e2 Removed colour codes from messages
Ex: <§4~§4§kM§4Ghostise§r> -> <~MGhostise>
2016-12-06 15:01:20 -05:00
b1880eadcd Fixed command whitelist again 2016-12-05 18:57:40 +01:00
2108ce2347 Fixed command whitelist... 2016-12-05 18:49:05 +01:00
28f3f52b83 Fixed cmd whitelist condition 2016-12-05 18:16:36 +01:00
f88c152fc7 Added support for nicknames from MC 2016-12-04 21:42:59 +01:00
faf3b8857f Made the chat also support players 2016-12-04 21:41:17 +01:00
c336de27ea Applied changes 2016-12-04 20:07:58 +01:00
dade15da53 Updated msg 2016-12-04 18:43:43 +01:00
71e90bcf60 Finished DiscordPlayerSender and improved things 2016-12-04 18:28:40 +01:00
19df7a375e Added the rest of the methods manually 2016-12-04 17:53:57 +01:00
e8444636b8 Merge branch 'master' of https://github.com/TBMCPlugins/DiscordPlugin.git 2016-12-04 01:52:52 +01:00
13a3616a47 Added some things
- Made the chat connect message only show up when everything is ready
(probably)
- Made the plugin enable/disable errors send if possible
- Added /mwiki as an allowed cmd
- Added DiscordPlayerSender with a metric shit ton of overridden methods
2016-12-04 01:52:06 +01:00
a838678535 Fixed condition... 2016-12-03 11:20:01 +01:00
a2dd94f501 Fixed stream double access 2016-12-02 23:37:28 +01:00
f484aba361 (#12) Online players can now use their cmds
Assuming it works.
2016-12-02 22:59:54 +01:00
b3131a063f Added proper(?) rate limit handling 2016-12-02 22:13:35 +01:00
95ab347ef6 Made @ChromaBot not count as mentioning 2016-12-02 21:19:12 +01:00
e4871b2785 Added user name for debug 2016-12-01 22:52:06 +01:00
b284bdf148 Fixes 2016-12-01 22:25:05 +01:00
4b44283236 Behave! 2016-12-01 22:06:25 +01:00
ebf862e54a (#12) Added ping and removing color codes 2016-12-01 21:51:12 +01:00
97c568a662 Added sending attachment URLs to MC (#12) 2016-12-01 21:35:21 +01:00
696f359f50 Added death messages (#12) 2016-12-01 21:05:52 +01:00
630384f125 Made unconnected accounts have restricted cmd access 2016-12-01 21:01:25 +01:00
4e2a60e625 Perms are still ignoring me 2016-11-29 22:05:00 +01:00
6808c18d5b Manually denying most Essential perms... 2016-11-29 21:42:05 +01:00
d6b5ae2d88 (#12) Added player join/leave and plugin (un)load msgs 2016-11-29 21:00:39 +01:00
b3153847b0 Made sendMessage async (#12) 2016-11-29 20:36:51 +01:00
4f2c33add7 Made the array of messages send as one 2016-11-28 19:50:44 +01:00
276ab40760 Added partial support for private channels and fixed response location 2016-11-28 18:42:41 +01:00
f338c815f1 Added command support and fixed isOp 2016-11-28 18:18:37 +01:00
ec5265f054 Added DiscordSender, fixing and adding things
- It allows putting the Discord name in the chat and other plugins'
commands to work with it
- It will now only forward the general chat from MC
- It will no longer echo the message sent from Discord
2016-11-28 18:11:16 +01:00
cadd04ccd1 Removed server shutdown message 2016-11-26 15:36:46 +01:00
7de50eb00d Added message for testing 2016-11-25 21:35:21 +01:00
20d6cd7313 IT WORKS! Chat works! With some bugs ofc 2016-11-25 21:05:35 +01:00
df75adb67a Did the MC chat connection, at least a test 2016-11-25 19:16:19 +01:00
alisolarflare
8069c71663 Re-added issue and debug channels 2016-11-23 11:49:01 -05:00
alisolarflare
b5c0d481dc Revert "Revert "Added bot-room channel""
This reverts commit 416f110ca6.
2016-11-23 11:44:44 -05:00
alisolarflare
416f110ca6 Revert "Added bot-room channel"
This reverts commit 0ba9803644.
2016-11-23 11:44:08 -05:00
alisolarflare
0ba9803644 Added bot-room channel 2016-11-23 11:34:42 -05:00
alisolarflare
81f531fa6c Deleted serverissues and debug channel 2016-11-23 11:06:44 -05:00
alisolarflare
25e189e4d1 Moved debug channels to #bot-room 2016-11-23 11:04:00 -05:00
alisolarflare
f7c6614c2a Merge remote-tracking branch 'refs/remotes/origin/master' into Ali
# Conflicts:
#	src/main/java/buttondevteam/discordplugin/DiscordPlugin.java
2016-11-21 21:20:53 -05:00
alisolarflare
930c6bea05 Added DebugMessageListener to DPlugin 2016-11-21 20:29:53 -05:00
e2870ef4b0 Updated chat channel ID 2016-11-20 02:45:20 +01:00
d87cb6cbaf Fixed userinfo finding user by tag 2016-11-19 20:12:53 +01:00
a954720ebd Started MC chat (#8) 2016-11-15 22:01:55 +01:00
6e67787083 Moved listeners 2016-11-15 21:15:23 +01:00
714c4c3de2 Fixed some issues 2016-11-15 21:05:18 +01:00
0ff139928b Added support for role mentions
After a while of trying to test it locally while my PC is already busy,
I decided on continuing to test in production. This is alpha stage
afterall.
2016-11-15 20:48:45 +01:00
1871dfbb2f Testing again 2016-11-14 19:40:29 +01:00
c22fdeac49 Added back and changed 2016-11-14 19:37:45 +01:00
eaf74d9d83 Remove to test 2016-11-14 19:36:24 +01:00
ec43d39257 Testing for embeds 2016-11-14 19:33:29 +01:00
0839dbba73 Remove and test 2016-11-14 19:29:30 +01:00
6ef6882335 Checking for attachments 2016-11-14 19:26:37 +01:00
3066271c0e Removed thingy and hopefully triggered it 2016-11-14 19:20:46 +01:00
ce9e2987b3 Added typing and test 2016-11-14 18:06:54 +01:00
f665d1c8b9 Fixed NPE in userinfo 2016-11-14 17:41:55 +01:00
8c5dd3b320 Improved help and actually added it to cmds 2016-11-12 20:14:16 +01:00
6a4b776c37 Probably made the connect cmd case insensitive and other things 2016-11-12 01:43:54 +01:00
b144a55935 Fixed userinfo command in PM 2016-11-05 19:46:14 +01:00
73280fa88e Added some config saving code 2016-11-05 19:21:34 +01:00
19dd0f5ef5 Merge branch 'master' of https://github.com/TBMCPlugins/DiscordPlugin.git 2016-11-05 18:55:37 +01:00
31a81d7849 Fixed command paths 2016-11-05 18:55:24 +01:00
f8404c56c5 Improved test mode and removed some messages 2016-11-05 16:53:14 +01:00
e7531fd830 Made the exception handler more reliable 2016-11-03 22:45:21 +01:00
b43b7c86ff Added and fixed a bunch of things
- Added exception handler to Discord commands
- Added retry code for getting guilds/servers
- Added max message length for exception sending to Discord
- Made the connect message only appear in Minecraft when needed
- Fixed status formatting in userinfo
- Improved userinfo command
- Other fixes and improvements
2016-11-02 22:53:55 +01:00
fb5dd60b84 Fixes and stuff 2016-11-02 18:37:36 +01:00
754ed869f1 Finished player info things 2016-11-01 21:30:52 +01:00
f60a5205de Added messages 2016-10-31 18:07:53 +01:00
b2e9503a02 Again... 2016-10-31 17:39:14 +01:00
4d62c09b36 Fixed typo... 2016-10-31 17:38:37 +01:00
0d29781713 Added testing status for bot 2016-10-31 17:27:17 +01:00
c6a07162c3 Added userinfo command 2016-10-31 00:28:15 +01:00
d8dcf72075 Added messages and fixes (#3) 2016-10-30 23:18:02 +01:00
cacb14a307 Why haven't I commited this
Only the plugin.yml and registering /discord is the current change.
2016-10-30 23:10:02 +01:00
c6b831e035 Added code to actually run commands
Also made it not respond to bots...
2016-10-29 23:56:30 +02:00
01ee8d7e94 Fixed file delete and prevented constant config saving 2016-10-29 23:20:16 +02:00
9614fa0994 Fixed plugin.yml 2016-10-29 22:46:56 +02:00
7cd3a9c85e Probably finished /discord command 2016-10-29 22:22:45 +02:00
e6829fb7c9 Added commands 2016-10-29 20:45:52 +02:00
d30964bec8 Connect accept WIP, refactoring again... 2016-10-28 22:19:55 +02:00
267555848c Added a few things
- Implemented the connect command on the Discord side
- It'll retry if the message sending failed
- Wait for distinguish
2016-10-28 19:48:27 +02:00
0d4dc309a5 Started connect command 2016-10-25 22:21:25 +02:00