Clean start

This commit is contained in:
Anonymus Raccoon
2020-07-12 21:13:19 +02:00
commit c79714dcb0
3 changed files with 25 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
.idea/
venv/

16
nemo.py Normal file
View File

@@ -0,0 +1,16 @@
#! /usr/bin/env python3
import discord
import os
class Client(discord.Client):
async def on_ready(self):
print(f"Logged in as {self.user}.")
async def on_message(self):
pass
client = Client()
client.login(os.environ["NEMO_TOKEN"])

7
run.sh Normal file
View File

@@ -0,0 +1,7 @@
#! /usr/bin/sh
. venv/bin/activate
pip install -U discord.py
export NEMO_TOKEN='INSERT YOUR TOKEN HERE'
python3 nemo.py