mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-09 23:37:54 +00:00
bot: periodically update game status
This commit is contained in:
parent
21b16667df
commit
b8065e2065
2 changed files with 13 additions and 4 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue