0
0
Fork 0
mirror of https://github.com/Sanae6/SmoOnlineServer.git synced 2024-11-24 20:25:18 +00:00
Commit graph

20 commits

Author SHA1 Message Date
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