Skip to content

Dragons-Dev/Dragons-BotV2

Repository files navigation

Discord server invite Commit activity CodeFactor

Dragons Bot

A Discord multipurpose bot written in Python with many (yet to make) features. It will have many different features, including a dashboard.

What's coming?

  • You can find future features and development progress in the Projects tab

Prerequisites:

API Keys

# config.py
DISCORD_API_KEY = ""
# The token you get from discord for authorizing your bot. https://discord.com/developers/applications

GOOGLE_API_KEY = ""
# An optional value required to scan for harmful urls in messages
# you'll have to create a project at googles cloud services and then add the safebrowsing api to it.
# after that you'll get an api key to use it
# https://console.cloud.google.com/apis/api/safebrowsing.googleapis.com

DEBUG_GUILDS: list[int] = []
# A debug guild. this is an optional value but if it's unset some features like modmail are not possible to use.
# commands can take up to one hour to sync. most times it's taking ~2-3 minuets to sync and maybe a client restart.

log_level = DEBUG
# depending on the set value there are
# logged   possible values are DEBUG; INFO; WARNING; ERROR; CRITICAL

IPC_SECRET = ""
# this secret will be used to encrypt the communication between the bot and webinterface

Python

Download Python version from 3.11 from python.org

pip packages

pip install -r requirements.txt