Skip to content

Instantly share code, notes, and snippets.

View vikramisdev's full-sized avatar
💠
#stand-alone

Vikram Vishwakarma vikramisdev

💠
#stand-alone
View GitHub Profile
from pyrogram import Client, idle
API_ID = input("Enter api_id: ")
API_HASH = input("Enter api_hash: ")
STRING_SESSION = input("Enter pyrogram string session: ")
app = Client(STRING_SESSION, api_id=API_ID, api_hash=API_HASH)
with app:
app.send_message("me", "I am a pyrogram client, sending this message to you.")
@vikramisdev
vikramisdev / anime_quotes.json
Created August 20, 2024 14:30
A json file that contains anime quotes.
[
{
"anime": "Boku no Hero Academia",
"character": "Eraserhead",
"quote": "They've been exposed to the outside world, up close and personal. They've had that fear planted in them. And they've endured it. Overcome it. Each has grown from that experience... and forgotten how to hesitate."
},
{
"anime": "Bleach",
"character": "Urahara Kisuke",
"quote": "[Urahara writes Ichigo a message in blood] Please meet at Urahara shop immediately. [After Ichigo freaked out] P.S: If you look at this message and think that it is the message of a person before his death... then you have no sense of humor."
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.