From e2ab80818a4d8bdf728accc758b2b702426325ef Mon Sep 17 00:00:00 2001 From: Lexie Date: Wed, 18 Dec 2024 22:55:01 +0100 Subject: [PATCH] fix the readme example (#731) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7df5b0574..fa171149c 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ void main() async { if (event.mentions.contains(botUser)) { await event.message.channel.sendMessage(MessageBuilder( content: 'You mentioned me!', - replyId: event.message.id, + referencedMessage: MessageReferenceBuilder.reply(messageId: event.message.id), )); } });