Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
BOT_TOKEN=
11 changes: 7 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
import os
import discord
from discord.ext import commands
from dotenv import load_dotenv


TOKEN = "bot_token"
USER_IDS = [123456789012345678, 987654321098765432]
EMOJI = "<:cool:123456789012345678>"
load_dotenv()
TOKEN = os.getenv("BOT_TOKEN") or "bot_token"

USER_IDS = {123456789012345678, 987654321098765432}
EMOJI = "<:cool:123456789012345678>"


intents = discord.Intents.default()
intents.message_content = True
intents.messages = True
intents.guilds = True

bot = commands.Bot(command_prefix="!", intents=intents)
Expand Down
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
discord.py>=2.5.1
python-dotenv>=1.0.0