Compare commits

..

No commits in common. "3a37b439da710ccd258652969ce58701e3fa7bef" and "ddc936a891b5da88a496cb7e0dc2cbf47aa1efc3" have entirely different histories.

5 changed files with 12 additions and 9 deletions

4
.gitignore vendored
View file

@ -3,4 +3,6 @@
spec/
dist/
config.json
.env.example
a.py
Procfile.windows
# procfile.windows is due to most-likely brken on few things

View file

@ -1,2 +0,0 @@
language = "python3"
run = "python3 src/main.py"

View file

@ -1 +1,2 @@
nextcord
python-dotenv

View file

@ -1,2 +1,2 @@
TOKEN=
PREFIX=
TOKEN=DiscordBotToken
PREFIX=DiscordBotPrefix

View file

@ -1,9 +1,12 @@
import os
import nextcord
from nextcord.ext import commands
from dotenv import load_dotenv
PREFIX = os.environ['PREFIX']
intents = nextcord.Intents.default()
load_dotenv()
TOKEN = os.getenv('TOKEN')
PREFIX = os.getenv('PREFIX')
intents = nextcord.Intents.default()
intents.members = True
bot = commands.Bot(command_prefix=PREFIX, intents=intents)
@ -18,5 +21,4 @@ async def on_ready():
async def ping(ctx):
await ctx.reply('Pong!')
bot.run(os.environ['TOKEN'])
bot.run(TOKEN)