Drop unused import
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
parent
512cb26cba
commit
d939f6942e
1 changed files with 2 additions and 2 deletions
|
@ -8,10 +8,9 @@
|
|||
import telebot
|
||||
import std/[asyncdispatch, logging, options, strutils, random, with, os, tables, times, sequtils, json]
|
||||
import norm/[model, sqlite]
|
||||
from cgi import encodeUrl
|
||||
|
||||
# Logging Level
|
||||
var L = newConsoleLogger(levelThreshold=lvlDebug, fmtStr="$levelname, [$time] ")
|
||||
var L = newConsoleLogger(levelThreshold=lvlError, fmtStr="$levelname, [$time] ")
|
||||
addHandler(L)
|
||||
|
||||
# Custom Types Defined to handle tables on norm
|
||||
|
@ -147,6 +146,7 @@ proc banHandler(b: Telebot, c: Command): Future[bool] {.gcsafe, async.} =
|
|||
insert BannedUser
|
||||
discard await b.sendMessage(c.message.chat.id, "Banned!")
|
||||
|
||||
# Inline share handler
|
||||
proc inlineHandler(b: Telebot, u: InlineQuery): Future[bool]{.async.} =
|
||||
var TempData = @[NewCensoredData()]
|
||||
var ftype = ""
|
||||
|
|
Loading…
Reference in a new issue