Get your bot off the ground in minutes.
Run the following command in your terminal to install the Python package.
# Linux / MacOS
python3 -m pip install -U discord-beacon
# Windows
py -3 -m pip install -U discord-beacon
Create a main.py file and utilise the custom Bot class. This handles everything from cog loading to intents implicitly.
import discord
from beacon import Bot
bot = Bot(
command_prefix="?",
cogs_path="cogs",
logging_path="logs.db", # Enable logging backend
default_diagnostics=True,
intents=discord.Intents.default()
)
bot.run("YOUR_BOT_TOKEN_HERE")