Skip to content

Instantly share code, notes, and snippets.

View ReasonInThinking's full-sized avatar

ReasonInThinking

View GitHub Profile
from telegram.ext import Application, MessageHandler, filters
async def echo(update, context):
if update.message and update.message.text:
await update.message.reply_text("Hello! I'm easy Bot. haha ) ")
TOKEN = "Your TOKEN"
application = Application.builder().token(TOKEN).build()
application.run_polling()
application.add_handler(MessageHandler(filters.TEXT, echo))
application = Application.builder().token(TOKEN).build()
TOKEN = "Your TOKEN"
await update.message.reply_text("Hello! I'm easy Bot. haha ) ")
if update.message and update.message.text:
from telegram.ext import Application, MessageHandler, filters
function love.load()
width = love.graphics.getWidth( )
height = love.graphics.getHeight( )
x = 100
y = 200
end
function love.draw()
love.graphics.rectangle("fill", x, y, 200, 100)
end
function love.draw()
yesWord = "Top";
love.graphics.print(yesWord, 100, 100)
yesWord = "Bottom"
end