Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
NoComment1105 committed Feb 12, 2023
1 parent 51013f8 commit c7f221a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class MessageDelete : Extension() {
name = "Location"
value = "${event.channel.mention} " +
"(${event.channel.asChannelOfOrNull<GuildMessageChannel>()?.name
?: "Could not get channel name})"}"
?: "Could not get channel name"})"
}
field {
name = "Number of messages"
Expand All @@ -104,7 +104,7 @@ class MessageDelete : Extension() {
}
addFile(
"messages.md",
ChannelProvider { messages.byteInputStream().toByteReadChannel() }
ChannelProvider { messages!!.byteInputStream().toByteReadChannel() }
)
}
}
Expand Down

0 comments on commit c7f221a

Please sign in to comment.