Commit Graph

32 Commits

Author SHA1 Message Date
TheUbMunster cfe6c3eecf but actually now 2023-07-11 05:04:54 -06:00
TheUbMunster f15ded0981 lgtm? 2023-07-11 04:58:27 -06:00
TheUbMunster 3b935d1f5b Property migration of LogChannel->AdminChannel in discord settings, general cleanup. 2023-07-02 21:18:52 -06:00
TheUbMunster fc70cb90d8 Updated readme with the new settings, added another exception filter to the discordbot 2023-06-27 18:32:04 -06:00
TheUbMunster 0b5d0b7c4e enable/disable the filtering of non-warning log messages 2022-12-24 20:29:19 -07:00
TheUbMunster 3f6d581c83 Filter out a non-issue warning. 2022-12-24 20:15:34 -07:00
TheUbMunster 28c4cfadd6 alias logchannel as adminchannel (code only) 2022-12-24 11:00:30 -07:00
TheUbMunster 317a495f46 Fix deadlock from Stop/HandleCommandAsync 2022-12-24 10:50:19 -07:00
TheUbMunster fb26986a58 refactoring of command parsing in discord bot 2022-12-24 05:54:10 -07:00
TheUbMunster 3a34ec2045 Made the logging colors smarter. 2022-12-24 05:02:21 -07:00
TheUbMunster bb02fa6e90 only print logged commands if it was a valid command 2022-12-24 01:04:23 -07:00
TheUbMunster 9e3a72dcbc new discord bot 2022-12-21 17:42:43 -07:00
Robin C. Ladiges f0d837190a only warn about the Discord channel settings when a Token is set
Servers that don't use Discord (default settings) don't need to be warned about not setting Discord channels.
2022-10-10 19:37:37 -06:00
Robin C. Ladiges 92d4bdd195 better DiscordBot channel exceptions
currently it always outputs `Failed to get log channel \"{Config.CommandChannel}\"` regardless if the error was with the command channel or the log channel.

await Run(); doesn't need to be in a try-catch block, because it has a try-catch block itself in it.
2022-09-07 10:36:57 -06:00
TheUbMunster 783b876e09 You can run commands in the command channel or log channel 2022-08-22 18:58:42 -06:00
TheUbMunster 4d743b3e1b Made changes for pr, cleaned up formatting 2022-08-22 18:58:42 -06:00
TheUbMunster 67a740dec9 By default bot does not respond to dm with error message 2022-08-22 18:58:42 -06:00
TheUbMunster 4c4ce35f14 Removed some log messages as they would trigger before prefix checking, would start spamming the server if they remained 2022-08-22 18:58:42 -06:00
TheUbMunster 86fb18962f Differentiated command channel and log channel 2022-08-22 18:58:42 -06:00
TheUbMunster 06e3b5d40a Made debug message simpler 2022-08-22 18:58:42 -06:00
TheUbMunster 02f936816c Clarified log message 2022-08-22 18:58:42 -06:00
TheUbMunster 82e94334c9 added log message that prints the channel the command came from and the channel commands are accepted from 2022-08-22 18:58:42 -06:00
TheUbMunster b6e634ada4 changed isPrivate check to type check of "is DiscordDmChannel" 2022-08-22 18:58:42 -06:00
TheUbMunster d828a704c1 Updated with Sanae's no private channel logic.
Behavior: No DM'ing commands under any circumstance
if Config.LogChannel == null, commands can be in any non-private channel
if Config.LogChannel != null, commands can only be in the log channel
2022-08-22 18:58:42 -06:00
TheUbMunster 08d1020770 You can no longer dm a bot for a command (has been tested) 2022-08-22 18:58:42 -06:00
TheUbMunster 8350133d49 Fixed "Couldn't determine a response for this query" and removed testing command. 2022-07-29 11:16:24 -06:00
TheUbMunster d3b8ede229 Messages are now split up into lengths small enough to not cause the discord bot to throw an exception with too long a message. 2022-07-28 19:16:24 -06:00
Sanae b5825b537f Implements Added Bot Reconnect Command (#1)
Add dscrestart command
Update Program.cs
2022-06-20 12:55:01 -06:00
Sanae 60249feef8 Remove the "Console log:" from discord logs 2022-06-20 12:53:30 -06:00
Sanae 22a8e91f85 Try/catch bot msg sending and add exception handlers 2022-06-19 19:33:45 -06:00
Sanae dd3f65f5e8 Add README.md 2022-06-17 21:18:57 -06:00
Sanae 561d633e40 Add a simple discord bot to manage the server 2022-06-12 18:48:24 -06:00