- Bot with all the general functions that you could ever need!
- Managed with Cog system, so you can add other modules
- You can also unload modules that you don't want
- All modules are stored in
GLOB/cogs
- If you don't want to use certain modules you can just delete them from there
- Same applies for adding your own modules
- GLOB has these functions programmed as commands
- To reload cog
.reload {cog_name}
- To load cog
.load {cog_name}
- To unload cog
.unload {cog_name}
- Play, Pause and Stop songs
- Create Playlist that can be loaded anytime from database
- Queue songs, change their position in queue or skip them
- Tell GLOB to send you the currently playing song to DMs
- Hangman game
- Images from Reddit
- Predefined commands to get images from
r/cats
,r/Birbs
and some others - You can get random image from any subreddit using
.subreddit {subreddit name}
- Predefined commands to get images from
- Write down things that somebody has said with
citation
cog
- Votekick and voteban
- Change roles and nicknames
- Make announcements
- GLOB let's you create messages formated in embeds and sends them to channel that's configured as Announcement channel
- Clone this repository
git clone https://github.com/Simpleton-Yogy/GLOB.git
- Create
.env
file
cd GLOB
nano .env
- Things needed in .env:
DISCORD_TOKEN
- If you want to use the
lyrics
command from themusic
cog:GENIUS_TOKEN
- Token generated in Genius API Clients
- If you are using the
reddit
cog:REDDIT_USERNAME
- Username of your Reddit Account
REDDIT_ID
- ID of application created in Reddit settings
REDDIT_PASSWORD
- Password to your Reddit Account
REDDIT_SECRET
- Secret that can be found in your app created in the Reddit Settings
REDDIT_USERAGENT
- Description of service that would be making requests
- For example:
Discord_Bot_GLOBv1_(by u/RedditUser)
- Install requirements
pip install -r requirements.txt
- Start GLOB
python bot.py
Thanks to satcom886 GLOB has a Dockerfile and so can be served in Docker
Images are available on Docker Hub. The table below explains the tags.
Tag | Update | Description |
---|---|---|
latest | on push | Built automatically using a GitHub Action |
stable | irregularly | Built by satcom886 whenever a version is mostly working |
- The
DISCORD_TOKEN
variable needs to be set. You can get your token from Discord's Developer Portal. - (optional) Choose a place to store GLOB's database using a mount point. If you don't set a mount point for GLOB's data, GLOB won't remember your settings and data.
- (optional) Set the
REDDIT_*
variables for using GLOB's Reddit functionality.
docker run \
-e DISCORD_TOKEN="your_discord_token" \
-e REDDIT_USERNAME="meeeeee" \
-e REDDIT_ID="smt" \
-e REDDIT_PASSWORD="VerySecret" \
-e REDDIT_SECRET="MoreSecret" \
-e REDDIT_USERAGENT="NetScape-Navigator" \
--mount type=bind,source=/your/datadir,target=/GLOB/data \
satcom886/glob
version: "3.5"
services:
glob:
image: satcom886/glob
## Uncomment to auto-start
# restart: unless-stopped
volumes:
- /your/datadir:/GLOB/data
environment:
DISCORD_TOKEN: "your_discord_token"
REDDIT_USERNAME: "meeeeee"
REDDIT_ID: "smt"
REDDIT_PASSWORD: "VerySecret"
REDDIT_SECRET: "MoreSecret"
REDDIT_USERAGENT: "Netscape-Navigator"