Skip to content

semf-nexus/bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

SEMF - (Discord) Bot

TODO:

  • github action deploy
  • missed ones while bot downtime, recount after x
  • Offline database sync through cache.py + events
  • cleanup
  • Move all env variables to global config
  • ensure exclusion of private stuff from counts

Some useful links

Local setup

git clone [email protected]:semf-nexus/bot.git \
&& cd ./bot

Install dependencies

python3 -m pip install -U discord.py

Run Discord bot:

# DISCORD_SKIP_HOOK=1 Skips manually syncing the Discord Interaction (i.e. AppCommands)`
DISCORD_SKIP_HOOK=0 \
DISCORD_GUILD_ID=844566471501414463 \
BOT_CACHE_GIT_REPOSITORY="[email protected]:semf-nexus/discord-mirror.git" \
BOT_CACHE_GIT_DIRECTORY="./.bot/cache/git" \
BOT_CACHE_GIT_BRANCH="main" \
DISCORD_CLIENT_ID="..." \
DISCORD_TOKEN="..." \
python3 ./bot/run.py

Generating an oauth url to add the bot to a server

DISCORD_CLIENT_ID="..." \
DISCORD_TOKEN="..." \
python3 ./bot/oauth2_url.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages