Skip to content

Instantly share code, notes, and snippets.

View hamidb80's full-sized avatar
🕸️
The spider’s house is the weakest of houses. If only they knew!

Palestine/humanity is in danger hamidb80

🕸️
The spider’s house is the weakest of houses. If only they knew!
View GitHub Profile
@hamidb80
hamidb80 / main.nim
Created December 30, 2021 21:17
telebot send contact info reply to message causes error
import telebot, asyncdispatch, logging, options
var L = newConsoleLogger(fmtStr = "$levelname, [$time] ")
addHandler(L)
func singleReply*(btn: KeyboardButton): ReplyKeyboardMarkup =
ReplyKeyboardMarkup(`type`: kReplyKeyboardMarkup, keyboard: @[@[btn]])
const API_KEY = "..."