bot: periodically update game status

This commit is contained in:
Ske 2019-04-25 18:50:07 +02:00
parent 21b16667df
commit b8065e2065
2 changed files with 13 additions and 4 deletions

View file

@ -21,7 +21,7 @@ namespace PluralKit.Bot.Commands
if (system == null) system = Context.SenderSystem;
if (system == null) return NO_SYSTEM_ERROR;
await Context.Channel.SendMessageAsync(embed: await EmbedService.CreateEmbed(system));
await Context.Channel.SendMessageAsync(embed: await EmbedService.CreateSystemEmbed(system));
return PKResult.Success();
}
@ -33,7 +33,7 @@ namespace PluralKit.Bot.Commands
var system = await Systems.Create(systemName);
await Systems.Link(system, Context.User.Id);
await ReplyAsync("Your system has been created. Type `pk;system` to view it, and type `pk;help` for more information about commands you can use now.");
return PKResult.Success();
}