Commit Graph

102 Commits

Author SHA1 Message Date
Jeremy "EndenDragon" Zhang
600627d2e2 Allow the bot to work with not having Administrator permissions (#47) 2017-09-06 17:59:22 -07:00
Jeremy Zhang
0cfcb42ac4 Update and delete messages even if not in discordbot messages cache, and raise max_messages deque 2017-09-06 04:58:46 +00:00
Jeremy Zhang
a99b0075bc Discordbot emit on role update typo fix 2017-09-05 07:37:04 +00:00
Jeremy "EndenDragon" Zhang
aa9075f484 Inital postgresql implementation (#46) 2017-09-04 23:54:54 -07:00
Jeremy Zhang
871c8fc22f New .com domain! 2017-09-01 04:45:35 +00:00
Jeremy Zhang
a3971960e1 Don't alter avatar urls for now 2017-08-30 00:25:25 +00:00
Jeremy Zhang
654dd3faf3 Automatic webhook creation and deletion, Resolves #42 2017-08-27 21:50:41 +00:00
Jeremy Zhang
0631ccc96d Change to static image and color sidebar fix 2017-08-25 23:37:54 +00:00
Jeremy Zhang
e3f57500ff Realtime updating channel list 2017-08-25 06:37:14 +00:00
Jeremy Zhang
d1225e5273 Realtime emoji and discord member sidebar fix 2017-08-22 07:53:41 +00:00
Jeremy Zhang
0539efb204 WS Realtime for message actions and Sidebar members list presence update 2017-08-22 07:01:40 +00:00
Jeremy Zhang
4ed2d14bc3 Basic websockets authentication handling 2017-08-21 04:26:51 +00:00
Jeremy Zhang
72649f069e Basic message relaying via WS 2017-08-20 19:56:54 +00:00
Jeremy Zhang
68d8882d3e Fix mentions with nicknames 2017-08-10 02:56:45 +00:00
Jeremy Zhang
77bde8f258 Better nickname support
- Username field will not be overwritten with the nickname.
- Mentions work again!
- User chip will show nickname instead of username if present
- Authenticated embed users sidebar nickname support
2017-08-10 02:05:05 +00:00
Jeremy Zhang
3b5707cd15 Hotfix for webhooks not showing up in the embeds. Message author object sometimes gives User for webhooks. User objects does not have nicknames. Check if the user/author object has nick attribute. 2017-08-03 22:39:30 +00:00
JustMaffie
2ace5f7040 Implement nickname support
Nicknames will be shown in both the embed and discord.
2017-08-02 19:03:39 +00:00
JustMaffie
45df6b19fc Added a protection against crash chars that make discord crash, this is not available to be disabled, this only helps out your server. 2017-07-29 23:52:24 +02:00
Jeremy "EndenDragon" Zhang
82db716b61 Moved some text fields over to longtext type (#21) 2017-07-10 04:37:52 +00:00
Jeremy Zhang
087606bd40 Implemented Webhooks to make sending messages look more real, as an option 2017-07-01 06:52:21 +00:00
Jeremy Zhang
38df1a8ed0 Add default error reporting channel id to config example and raise heartbeat sending interval whoops 2017-06-13 02:36:38 +00:00
Jeremy Zhang
7d3c099bd7 Wait until database is online for all events before processing 2017-06-13 02:29:39 +00:00
Jeremy Zhang
9b79871f2b Send message to channel when connection to database changes 2017-06-13 02:16:45 +00:00
Jeremy Zhang
2647753007 Show global header message when bot loses connection with server 2017-06-13 01:39:49 +00:00
Jeremy Zhang
30092fde01 Implemented Visitor View -- kinda betaish still 2017-06-09 04:22:33 +00:00
Jeremy Zhang
0b96794120 Backend support for discordio links and able to edit in admin panel 2017-06-04 05:32:23 +00:00
Jeremy Zhang
f25669e1bc Add emoji capability to bot 2017-05-30 01:05:43 +00:00
Jeremy "EndenDragon" Zhang
9661a7cbce Typo in request offline members 2017-05-27 12:18:52 -07:00
Jeremy Zhang
5cb224e20c Changed unicode encoding in mysql, it is being lazy with 3 chars not 4 2017-05-27 10:50:52 -07:00
Jeremy Zhang
d90cd64b0f Add permission checking for ban and kick 2017-05-26 19:24:04 -07:00
Jeremy Zhang
64079b449d Fix kick message 2017-05-26 19:03:29 -07:00
Jeremy Zhang
afda68d138 Added kick and ban commands to bot 2017-05-26 19:00:50 -07:00
Jeremy Zhang
6480df1b57 Added some sleep during guild join to make sure things are in order 2017-05-21 20:40:34 +00:00
Jeremy Zhang
b7b4187094 Initial command structure for bot 2017-05-20 07:50:29 +00:00
Jeremy Zhang
e59fb35e75 Fixes 2017-05-20 01:45:38 +00:00
Jeremy Zhang
4be91675ff Change game name to something more clearer 2017-05-20 01:24:21 +00:00
Jeremy Zhang
84346229b5 Leave server if no admin permission 2017-05-20 01:22:58 +00:00
Jeremy Zhang
401f12af5a Set logger to info 2017-05-14 22:19:15 +00:00
Jeremy Zhang
8a63570b70 Added logging 2017-05-14 22:09:38 +00:00
Jeremy Zhang
71ec14a609 Populate banned user for bot 2017-05-14 21:34:14 +00:00
Jeremy Zhang
2ab18abc11 Fixed some discord bot issues and added no-init flag to not index at start 2017-05-14 21:05:51 +00:00
Jeremy Zhang
3186267510 Consider all members and bans when bot join 2017-05-08 20:49:37 -07:00
Jeremy Zhang
a621fa8b0a Populate msgs on server join and remove on leave 2017-05-08 20:19:45 -07:00
Jeremy Zhang
74e62c7f4c Dashboard setting to change chat links, embed render, and mentions limit 2017-05-08 17:55:07 -07:00
Jeremy Zhang
fc169c2063 Transition over to use db instead of fetching discord REST 2017-05-06 18:19:20 -07:00
Jeremy Zhang
9c24093901 Fetching database for messages instead 2017-05-06 17:19:12 -07:00
Jeremy Zhang
b537aacb1c Basic pushing information to the database of members and guilds 2017-05-06 15:27:07 -07:00
Jeremy Zhang
e7e0c6e505 Discord bot db pool recycle set 2017-05-06 01:09:54 -07:00
Jeremy Zhang
b43d29bca5 Prevent update msg when no message exists 2017-05-06 01:04:34 -07:00
Jeremy Zhang
ba7b47f193 Messages database 2017-05-06 01:03:52 -07:00
Jeremy Zhang
7762862623 Discordbot database setup inital/partial 2017-05-03 22:16:49 -07:00
Jeremy Zhang
1e1a3ab43e Partial discordbot work 2017-05-04 03:22:27 +00:00