Added Group Role functionality for Add and Remove.
This commit is contained in:
1 parent
cb5d2b7e85
commit
aa79a30956
4 files changed
+39
-17
No files matched your search
@@ -1,24 +1,13 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Threading.Tasks;
|
||||
using DSharpPlus.CommandsNext;
|
||||
using DSharpPlus.CommandsNext.Attributes;
|
||||
using DSharpPlus.Entities;
|
||||
using DSharpPlus.VoiceNext;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
using System.Text;
|
||||
using DSharpPlus;
|
||||
using DSharpPlus.CommandsNext.Exceptions;
|
||||
using DSharpPlus.EventArgs;
|
||||
using DSharpPlus.VoiceNext.Codec;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using DSharpPlus.Interactivity;
|
||||
using DSharpPlus.Interactivity.Extensions;
|
||||
using System.Threading;
|
||||
|
||||
namespace StarsiegeBot
|
||||
{
|
||||
@@ -32,6 +21,12 @@ namespace StarsiegeBot
|
||||
public BotSettings()
|
||||
{
|
||||
Console.WriteLine("Bot Setting Commands Loaded");
|
||||
|
||||
if (!(GuildSettings is null))
|
||||
{
|
||||
// guild settings have already been set... stop resetting it.
|
||||
return;
|
||||
}
|
||||
// Check for guild settings file. If it doesnt exist, create it.
|
||||
if (!File.Exists("guildSettings.json"))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user