Esempio n. 1
0
        public async Task GetCharacter(string name, SocketUser owner, [Remainder] string info)
        {
            SqliteCommand command = new SqliteCommand(Queries.AddChar(Context.Guild.Id, name, owner.Id, info), Program.sqliteConnection);
            await command.ExecuteNonQueryAsync();

            await Context.Channel.DeleteMessageAsync(Context.Message);

            await Context.Channel.SendMessageAsync(Language(23) + name + Language(24));
        }