From f53f43082a708deac6ec33f07b5f5f28201be445 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Tue, 9 Nov 2021 10:00:35 -0800 Subject: [PATCH] Fixed incorrect bot nickname. --- src/main/kotlin/net/thauvin/erik/mobibot/commands/tell/Tell.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/net/thauvin/erik/mobibot/commands/tell/Tell.kt b/src/main/kotlin/net/thauvin/erik/mobibot/commands/tell/Tell.kt index b063549..f66ba2b 100644 --- a/src/main/kotlin/net/thauvin/erik/mobibot/commands/tell/Tell.kt +++ b/src/main/kotlin/net/thauvin/erik/mobibot/commands/tell/Tell.kt @@ -32,6 +32,7 @@ package net.thauvin.erik.mobibot.commands.tell import net.thauvin.erik.mobibot.Utils.bold +import net.thauvin.erik.mobibot.Utils.bot import net.thauvin.erik.mobibot.Utils.buildCmdSyntax import net.thauvin.erik.mobibot.Utils.helpFormat import net.thauvin.erik.mobibot.Utils.isChannelOp @@ -280,7 +281,7 @@ class Tell(private val serialObject: String) : AbstractCommand() { helpFormat( buildCmdSyntax( "%c $name $TELL_DEL_KEYWORD ", - event.user.nick, + event.bot().nick, true ) )