/space-bot

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Andromeda

Useful links

Invite

Invite the bot!

Setup

NOTE: This is only for self hosting

you can skip the top.gg steps if disired

fill in the these entries in a file named keys.env

DISCORD=
DEEP_AI=
IMGUR_CLIENT_ID=
IMGUR_CLIENT_SECRET=
TENOR=
OPENWEATHER=
TOP_GG_TOKEN=
TOP_GG_PORT= you need to port forward your sever with a port i don't remember the exact ports but keep it between 5000 and 45000 and you should be good
TOP_GG_ENCRYPTION_KEY= the "Authorization" field

then on top.gg add "http://yourIPAddress:port/dblwebhook" to the wekbook field.

the keys can be obtained from:

discord key from https://discord.com/developers/applications

deep ai from https://deepai.org/dashboard/profile

imgur from https://api.imgur.com/oauth2/addclient?

tenor key from https://tenor.com/developer/keyregistration

open weather from https://home.openweathermap.org/api_keys

top.gg from https://top.gg/bot/YOURBOTIDHERE/webhooks

and lastly, just build the docker container using

sudo docker-compose build

now, whenever you want to start the bot just run

sudo docker-compose up

and it should theoretically work