Skip to content

Commit

Permalink
Remove old tag code from clear command
Browse files Browse the repository at this point in the history
  • Loading branch information
NoComment1105 committed Sep 6, 2023
1 parent 149e53b commit ee7a972
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1434,7 +1434,7 @@ private suspend fun EphemeralSlashCommandContext<*, *>.clearMessages(
title = "${count ?: messages.size} messages have been cleared."
description = "Action occurred in ${textChannel.mention}"
footer {
text = user.asUserOrNull()?.tag ?: "Unable to get user tag"
text = user.asUserOrNull()?.username ?: "Unable to get username"
icon = user.asUserOrNull()?.avatar?.cdnUrl?.toUrl()
}
color = DISCORD_BLACK
Expand Down

0 comments on commit ee7a972

Please sign in to comment.