Skip to content

Instantly share code, notes, and snippets.

View NNTin's full-sized avatar
🏠
Working from home

NNTin

🏠
Working from home
View GitHub Profile
@NNTin
NNTin / savePastDiscordChat.py
Created November 28, 2016 07:37
goes through a text channel's chat log and writes it to a file
import discord
import asyncio
client = discord.Client()
@client.event
async def on_ready():
print('Logged in as')
print(client.user.name)
print(client.user.id)