2022-07-18 23:44:31 +00:00
|
|
|
|
namespace RegexBot.Modules.ModCommands.Commands;
|
2024-06-09 04:08:03 +00:00
|
|
|
|
class ConfReload(ModCommands module, JObject config) : CommandConfig(module, config) {
|
2022-07-18 23:44:31 +00:00
|
|
|
|
protected override string DefaultUsageMsg => null!;
|
|
|
|
|
|
|
|
|
|
// Usage: (command)
|
|
|
|
|
public override Task Invoke(SocketGuild g, SocketMessage msg) {
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
// bool status = await RegexBot.Config.ReloadServerConfig();
|
|
|
|
|
// string res;
|
|
|
|
|
// if (status) res = ":white_check_mark: Configuration reloaded with no issues. Check the console to verify.";
|
|
|
|
|
// else res = ":x: Reload failed. Check the console.";
|
|
|
|
|
// await msg.Channel.SendMessageAsync(res);
|
|
|
|
|
}
|
|
|
|
|
}
|