Sign inSign up

tibynx/orbit

By tibynx

•Updated 9 months ago

🌑 A simple Discord bot for fun, utility, and entertainment.

Image
Integration & delivery
Internet of things
0

494

tibynx/orbit repository overview

⁠🌑 Orbit⁠

Orbit is a simple, feature-rich Discord bot designed to bring fun, utility, and entertainment to your server. It integrates various APIs to provide a wide range of commands from games to random facts and image generation.

⁠Features

  • Fun & Games: 8ball, text encoding/decoding.
  • Random Content: Facts, dad jokes, colors, and periodic table elements.
  • Images & Memes: Random memes, user petting GIFs, and lynx photos.
  • Easy Setup: Support for both Docker and source-based installation.

⁠Commands

CommandDescription
/8ballAsk the magic 8ball a question.
/encodeEncode text to binary.
/decodeDecode binary to text.
/factGet a random fact.
/colorGet a random color with HEX, RGB, and HSL values.
/elementGet a random element from the periodic table.
/dadjokeGet a random dad joke.
/memeSend a random meme from Reddit.
/petGenerate a petting GIF of a user.
/lynxSend a random image of a lynx.

⁠APIs Used

⁠Setup

Create an application on the Discord Developer Portal⁠, and copy the application ID and the bot token for later.

⁠Docker

If you prefer, you can set up the bot using Docker.

docker run -d \
  --name=orbit \
  -e BOT_TOKEN="your_bot_token_here" \
  -e USER_AGENT="Your Discord Bot (https://github.com/your_name/your_repository)" \
  -v /path/to/logs:/app/logs \
  tibynx/orbit:latest
⁠Source

Clone the repo and install all required packages! Make sure you have at least Python 3.14 installed!

git clone https://github.com/tibynx/orbit.git
cd orbit
pip install -r requirements.txt

In the meantime, create an .env file according to the .env.example file! Do not share your bot token with anyone!

BOT_TOKEN="your_bot_token_here"
USER_AGENT="Your Discord Bot (https://github.com/your_name/your_repository)"

Then, you can run the bot using the python main.py command!

⁠Environment Variables
VariableDescription
BOT_TOKENYour bot token. Do not share this with anyone!
USER_AGENTYour bot's user agent. Set this to avoid rate limits by APIs.

⁠Usage

After setting up, invite your bot to a server using this premade link! It already contains the proper permissions. Replace <app-id> with your bot's appication ID.

https://discord.com/oauth2/authorize?client_id=<app-id>&permissions=277025508352&integration_type=0&scope=bot+applications.commands

Tag summary

Content type

Image

Digest

sha256:c04091580…

Size

26.6 MB

Last updated

9 months ago

docker pull tibynx/orbit