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:
parent
26aaa13f60
commit
3939ad5069
1 changed files with 4 additions and 4 deletions
|
@ -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 &
|
||||
|
|
Loading…
Reference in a new issue