Make p.co and p.d reply to the user
This commit is contained in:
@@ -103,6 +103,7 @@ impl Command<State, Extras> for CodeOfConductCommand {
|
||||
) -> Result<(), CommandError> {
|
||||
ctx.send()
|
||||
.content("<https://payphone.lat/code-of-conduct>")
|
||||
.reply_to(ctx.event.id)
|
||||
.await?;
|
||||
|
||||
Ok(())
|
||||
@@ -139,7 +140,10 @@ impl Command<State, Extras> for DonateCommand {
|
||||
ctx: CommandContext<'_, State, Extras>,
|
||||
_args: &str,
|
||||
) -> Result<(), CommandError> {
|
||||
ctx.send().content("<https://ko-fi.com/payphonedev>").await?;
|
||||
ctx.send()
|
||||
.reply_to(ctx.event.id)
|
||||
.content("<https://ko-fi.com/payphonedev>")
|
||||
.await?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user