Make p.co and p.d reply to the user

This commit is contained in:
2026-03-07 20:15:25 -03:00
parent 014acf55c6
commit e6b99759ce
2 changed files with 18 additions and 2 deletions
+5 -1
View File
@@ -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(())
}