Use NSFW instead of Censored in output

We should be clear to tell users that the media is nsfw and its fully at their own risk

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
baalajimaestro 2022-04-23 18:35:03 +05:30
parent 26aaa13f60
commit 3939ad5069
Signed by: baalajimaestro
GPG key ID: F93C394FE9BBAFD5

View file

@ -195,9 +195,9 @@ proc inlineHandler(b: Telebot, u: InlineQuery): Future[bool]{.async.} =
ftype = "Album"
elif len(TempData) == 1:
ftype = TempData[0].ftype
res.title = "Censored " & capitalizeAscii(ftype)
res.title = "NSFW " & capitalizeAscii(ftype)
res.inputMessageContent = InputMessageContent(kind: TextMessage,
messageText:"*Censored " &
messageText:"*NSFW " &
capitalizeAscii(ftype) &
"*\n\n[Tap to View](tg://resolve?domain=" &
b.username & "&start=" &
@ -256,7 +256,7 @@ proc updateHandler(b: Telebot, u: Update): Future[bool] {.async, gcsafe.} =
var replybutton = InlineKeyboardButton(text: "Share", switchInlineQuery: some(filehash))
let replymark = newInlineKeyboardMarkup(@[replybutton])
discard await b.sendMessage(response.chat.id,
"*Censored " &
"*NSFW " &
"Album" &
"*\n\n[Tap to View](tg://resolve?domain=" &
b.username &
@ -279,7 +279,7 @@ proc updateHandler(b: Telebot, u: Update): Future[bool] {.async, gcsafe.} =
var replybutton = InlineKeyboardButton(text: "Share", switchInlineQuery: some(filehash))
let replymark = newInlineKeyboardMarkup(@[replybutton])
discard await b.sendMessage(response.chat.id,
"*Censored " &
"*NSFW " &
capitalizeAscii(ftype) &
"*\n\n[Tap to View](tg://resolve?domain=" &
b.username &