mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-11 08:10:10 +00:00
Merge pull request #233 from dev-kittens/feature/delete-bot-responses
Allow deleting bot responses with ❌ reaction
This commit is contained in:
commit
8f56a1cc32
7 changed files with 83 additions and 7 deletions
|
|
@ -189,9 +189,9 @@ namespace PluralKit.Bot
|
|||
if (ctx.Match("random", "r"))
|
||||
return ctx.Execute<Member>(MemberRandom, m => m.MemberRandom(ctx));
|
||||
|
||||
ctx.Reply(
|
||||
// remove compiler warning
|
||||
return ctx.Reply(
|
||||
$"{Emojis.Error} Unknown command {ctx.PeekArgument().AsCode()}. For a list of possible commands, see <https://pluralkit.me/commands>.");
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
|
||||
private async Task HandleSystemCommand(Context ctx)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue