Skip to content

Instantly share code, notes, and snippets.

View RichStone's full-sized avatar
🐙
Summoning

Rich Steinmetz RichStone

🐙
Summoning
View GitHub Profile
@RichStone
RichStone / autoreplier.py
Created October 30, 2018 20:46 — forked from yi-jiayu/autoreplier.py
Automatic replies for Telegram
import time
from telethon import TelegramClient, events
# sample API_ID from https://github.com/telegramdesktop/tdesktop/blob/f98fdeab3fb2ba6f55daf8481595f879729d1b84/Telegram/SourceFiles/config.h#L220
# or use your own
api_id = 17349
api_hash = '344583e45741c457fe1862106095a5eb'
# fill in your own details here
phone = 'YOUR_PHONE_NUMBER'
@RichStone
RichStone / stopwatch.py
Created July 18, 2018 17:32 — forked from igniteflow/stopwatch.py
A simple stopwatch implemented in Python
import datetime
class Timer(object):
"""A simple timer class"""
def __init__(self):
pass
def start(self):
"""Starts the timer"""