Skip to content

Commit 263f75c

Browse files
Fixed small bug
1 parent d5ab432 commit 263f75c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NotifierBot/Sources/Notifier/main.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ while let update = bot.nextUpdateSync() {
8585
print("Error: No chat ID associated with this chat")
8686
} catch BotError.noPermissions(let command) {
8787
if let chatID = update.message?.chat.id {
88-
bot.sendMessageAsync(chatId: chatID, text: "This action requires the permission level *\(command.permission.rawValue)*.", parseMode: .markdownv2)
88+
bot.sendMessageAsync(chatId: chatID, parseMode: .markdownv2, text: "This action requires the permission level *\(command.permission.rawValue)*.")
8989
}
9090
var name = "\(update.message?.from?.username ?? "Unknown User")"
9191
if let firstName = update.message?.from?.firstName, let lastName = update.message?.from?.lastName {

0 commit comments

Comments
 (0)