58 Commits

Author SHA1 Message Date
jcreek 0ffd8f15a3 refactor(*): Move command functions into commands.js 2021-02-28 13:11:57 +00:00
jcreek 3f6eab8e11 refactor(*): Move logger code into logger.js 2021-02-28 10:07:24 +00:00
jcreek fa1fada289 fix(*): Add log and try catch loop to prevent getting a user from a mention throwing uncleanly 2021-02-28 09:54:16 +00:00
jcreek eea9841481 feat(*): Clean up whitespace 2021-02-28 09:52:57 +00:00
jcreek 5f875bc91d feat(*): Replace some key messages with embed messages 2021-02-14 19:13:31 +00:00
jcreek 73906e1957 fix(*): Clear pokemon name and captain name when using the clear queue command 2021-02-14 19:13:31 +00:00
jcreek 84a8f2c22c fix(*): Clear pokemon name and captain ign when filling a queue 2021-02-14 19:13:31 +00:00
jcreek c6333e7d06 feat(*): Disable the automatic channel deletion 2021-02-14 19:13:31 +00:00
jcreek 02dc03e5ef fix(*): Enable users with spaces in their username to delete their adventure channels
Why on earth does Discord even allow people to have spaces in their usernames?
2021-02-14 19:13:31 +00:00
jcreek d901ee4672 fix(*): Hand edge cases for the start command 2021-02-14 19:13:31 +00:00
jcreek 6865d021a3 fix(*): Use prefix rather than command text for help and adminhelp commands 2021-02-14 19:13:31 +00:00
jcreek c8dbcd9120 fix(*): Missed empty queue check for when a player leaves a queue they were the only one in 2021-02-14 19:13:31 +00:00
jcreek df6211d5e4 feat(*): Finish implementing start command 2021-02-14 19:13:31 +00:00
jcreek 17a8f98ca3 fix(*): Fix further missed lowercasing of channel names by Discord for text channels 2021-02-14 19:13:31 +00:00
Josh Creek 2e5c468c8f feat(*): Add start command for voting to start the adventure before the queue is full 2021-02-14 19:13:31 +00:00
Josh Creek 3d51cc1551 feat(*): Update help commands to use the correct command symbol from the config file rather than hard-coding one 2021-02-14 19:13:31 +00:00
jcreek be885bc286 fix(*): Fix bug where text channel names are automatically lowercased by Discord so couldn't be deleted if the username had capital letters 2021-02-14 19:13:31 +00:00
jcreek f127e09858 fix(*): Fix broken channel deletion and add more helpful logs 2021-02-14 19:13:31 +00:00
jcreek c48edec643 feat(*): Enable console logging even in production so Jord can see logs easily 2021-02-14 19:13:31 +00:00
jcreek c642d95335 feat(*): Improve logging and error handling 2021-02-14 19:13:31 +00:00
jcreek e08495bfc2 feat(*): Remove unused getCurrentDateAndTime function 2021-02-14 19:13:30 +00:00
jcreek 087fecf93a fix(*): Further fixes to elasticsearch logging to get the stacktrace coming through correctly 2021-02-14 19:13:30 +00:00
jcreek c3fcc15f06 fix(*): Make the elasticsearch logging render out log data correctly for filtering in kibana 2021-02-14 19:13:29 +00:00
jcreek 939a99b62d feat(*): Implement winston-elasticsearch for logging to Elasticsearch 2021-02-14 19:12:59 +00:00
jcreek 76a3431512 feat(*): Add timestamps to logs 2020-10-29 19:20:49 +00:00
jcreek 3c5aa62d33 feat(*): Added logs for creating and deleting channels 2020-10-29 19:20:37 +00:00
jcreek 62d9df4dcb refactor(*): Delete channels using names not ids 2020-10-29 19:20:24 +00:00
jcreek 2a915d9b31 feat(*): Change the message text 2020-10-29 19:19:57 +00:00
jcreek f683386583 fix(*): Fix broken adventure channel deletion 2020-10-26 22:42:11 +00:00
jcreek 4035abf933 feat(*): Improve comment clarity 2020-10-26 22:24:23 +00:00
jcreek 22529d38a0 feat(*): Send DM message in new adventure channel 2020-10-26 22:24:07 +00:00
jcreek 9fc701406d feat(*): Add help and adminhelp commands 2020-10-26 22:09:49 +00:00
jcreek 0f5d9278eb fix(*): Fix wrong captain name in text channel 2020-10-26 18:14:24 +00:00
jcreek 69b24b8998 feat(*): Set delete channel timeout to use minutes, not seconds for production 2020-10-26 17:26:08 +00:00
jcreek 649c5fef77 feat(*): Remove redundant debugging console log 2020-10-26 17:04:58 +00:00
jcreek 7c742d8b48 feat(*): Add a queue player counter to the queue title 2020-10-26 16:46:28 +00:00
jcreek a80a4b8dfc fix(*): Ignore messages in DM with the bot 2020-10-26 16:42:08 +00:00
jcreek 065f808689 feat(*): Add config option to toggle auto deleting commands 2020-10-26 16:41:49 +00:00
jcreek 35e751b43f feat(*): Improve formatting 2020-10-26 16:36:28 +00:00
jcreek 54b1f60e11 fix(*): Fix bug with blank pokemon name and captain ign fields showing 2020-10-26 16:36:14 +00:00
jcreek 3718bd1737 fix(*): Fix adding a private text channel 2020-10-26 16:22:10 +00:00
jcreek 55c89fe988 fix(*): Fix bug with discord channel name formatting 2020-10-26 16:20:53 +00:00
jcreek 689f3ff4a1 fix(*): Padd generated code with leading zeros 2020-10-26 16:12:09 +00:00
jcreek 0c06dbd016 feat(*): Add command to delete adventure channel 2020-10-26 08:55:49 +00:00
jcreek 4ab02a6dda feat(*): Add functionality to create temp text channel for completed queue members 2020-10-26 08:55:32 +00:00
jcreek 11f55b7eb3 feat(*): Update commands description 2020-10-26 08:17:04 +00:00
jcreek 88794261b1 feat(*): Add pokemon name and captain name argument support 2020-10-26 08:10:03 +00:00
jcreek c779d3b788 refactor(*): Clarify comments 2020-10-26 00:18:57 +00:00
jcreek 0f068ec9fe feat(*): Clarified comments 2020-10-26 00:08:12 +00:00
jcreek 582e5f63ab feat(*): Added winston logs instead of console logs 2020-10-25 23:50:17 +00:00