Fix start command

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
baalajimaestro 2022-04-17 20:24:20 +05:30
parent 1953d6f2cf
commit 26aaa13f60
Signed by: baalajimaestro
GPG key ID: F93C394FE9BBAFD5

View file

@ -109,7 +109,7 @@ proc startHandler(b: Telebot, c: Command): Future[bool] {.gcsafe, async.} =
RateLimiter[c.message.chat.id] = @[epochTime()] RateLimiter[c.message.chat.id] = @[epochTime()]
if param == "": if param == "":
discard await b.sendMessage(c.message.chat.id, discard await b.sendMessage(c.message.chat.id,
"Hey, To create a censored post, you can share any album, video, photo, gif, sticker, etc." & "Hey, To create a censored post, you can share any album, video, photo, gif, sticker, etc. " &
"The response of the bot can be used to share the media with other chats.") "The response of the bot can be used to share the media with other chats.")
else: else:
if not dbConn.exists(CensoredData, "fhash = ?", param): if not dbConn.exists(CensoredData, "fhash = ?", param):