Beispiel #1
0
 public static void SaveAccounts()
 {
     Datastorage.SaveUserAccounts(accounts, accountsfile);
 }
 public static void SaveAccount()
 {
     Datastorage.SaveUserAccounts(accounts, AccountFolder, AccountFile);
 }
Beispiel #3
0
        public static void SaveAccounts(SocketUser user, SocketGuild guild)
        {
            var accountsFile = $"Data/UserData/{guild.Id}/{user.Id}.json";

            Datastorage.SaveUserAccounts(Accounts, accountsFile);
        }