-
-
Save KenwoodFox/09955b7fae5fb3867f16ec91015a182f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import discord | |
import asyncio | |
import games.poker | |
import logging as log | |
log.basicConfig(filename='last_run.log',level=log.INFO) # Setup logging | |
class CRTC_GameBot: | |
def __init__(self): | |
self.client = discord.Client() | |
def run(self): | |
self.client.run("not4u") | |
print("What happens after client runs") | |
@self.client.event | |
async def on_message(message): | |
print(message.content) | |
if __name__=="__main__": | |
bot = CRTC_GameBot() | |
bot.run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment