mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-09 15:27:54 +00:00
feat: add command for calling up ids
This commit is contained in:
parent
ccac0a9203
commit
cd14e6409b
6 changed files with 30 additions and 0 deletions
|
|
@ -33,4 +33,12 @@ public class System
|
|||
await ctx.Reply(
|
||||
$"{Emojis.Success} Your system has been created. Type `pk;system` to view it, and type `pk;system help` for more information about commands you can use now. Now that you have that set up, check out the getting started guide on setting up members and proxies: <https://pluralkit.me/start>");
|
||||
}
|
||||
|
||||
public async Task DisplayId(Context ctx, PKSystem target)
|
||||
{
|
||||
if (target == null)
|
||||
throw Errors.NoSystemError;
|
||||
|
||||
await ctx.Reply($"{target.Hid}");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue