Drop unused import

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
baalajimaestro 2022-04-17 19:43:21 +05:30
parent 512cb26cba
commit d939f6942e
Signed by: baalajimaestro
GPG key ID: F93C394FE9BBAFD5

View file

@ -8,10 +8,9 @@
import telebot import telebot
import std/[asyncdispatch, logging, options, strutils, random, with, os, tables, times, sequtils, json] import std/[asyncdispatch, logging, options, strutils, random, with, os, tables, times, sequtils, json]
import norm/[model, sqlite] import norm/[model, sqlite]
from cgi import encodeUrl
# Logging Level # Logging Level
var L = newConsoleLogger(levelThreshold=lvlDebug, fmtStr="$levelname, [$time] ") var L = newConsoleLogger(levelThreshold=lvlError, fmtStr="$levelname, [$time] ")
addHandler(L) addHandler(L)
# Custom Types Defined to handle tables on norm # Custom Types Defined to handle tables on norm
@ -147,6 +146,7 @@ proc banHandler(b: Telebot, c: Command): Future[bool] {.gcsafe, async.} =
insert BannedUser insert BannedUser
discard await b.sendMessage(c.message.chat.id, "Banned!") discard await b.sendMessage(c.message.chat.id, "Banned!")
# Inline share handler
proc inlineHandler(b: Telebot, u: InlineQuery): Future[bool]{.async.} = proc inlineHandler(b: Telebot, u: InlineQuery): Future[bool]{.async.} =
var TempData = @[NewCensoredData()] var TempData = @[NewCensoredData()]
var ftype = "" var ftype = ""