forked from Cloudbox/Community
-
Notifications
You must be signed in to change notification settings - Fork 0
redbot
Sil3nt edited this page Aug 13, 2020
·
1 revision
This role adds a the extendable Red Discord bot to your cloudbox setup as a docker container. It uses the phasecorex/red-discordbot
image. The Red Discord bot is able to load different plugins or cogs to add functionality. There is no web panel with Red and can be managed entirely from your Discord server.
- Discord Server
- Cloudbox Setup with Community add-on (dev branch)
- A bot setup and it's token. Instructions for doing this can be found here
- Edit your
settings.yml
file and add your bot's token and the character you'd like to use as your command prefix. The command prefix is the character that will denote what is considered a command by the bot once it has joined your server. It's generally referred to as[p]
in most documentation for Red. The default is.
redbot:
token: Y0Urre34lLYL0NgdiSc0RdB0tT0k3NFr0MtHeB0tSe7Up
prefix: .
- Run the role like any other community role.
cd ~/community
sudo ansible-playbook community.yml --tags redbot
- To get your invite URL to invite your bot to the server, you can wither use
ctop
and take a look at the logs for theredbot
container, or rundocker logs redbot
. You should see output like this :
[2020-08-13 15:10:57] [INFO] red: Moving shared API tokens to a custom group
Connected to Discord. Getting ready...
Ready. I'm not in any server yet!
______ _ ______ _ _ ______ _
| ___ \ | | | _ (_) | | | ___ \ | |
| |_/ /___ __| | ______ | | | |_ ___ ___ ___ _ __ __| | | |_/ / ___ | |_
| // _ \/ _` | |______| | | | | / __|/ __/ _ \| '__/ _` | | ___ \/ _ \| __|
| |\ \ __/ (_| | | |/ /| \__ \ (_| (_) | | | (_| | | |_/ / (_) | |_
\_| \_\___|\__,_| |___/ |_|___/\___\___/|_| \__,_| \____/ \___/ \__|
┌──────────────────────────────────┐ ┌────────────────┐
│redbot_roletest#8077 │ │√ Voice │
│Prefixes: . │ │X Docs │
│Language: en-US │ │X Tests │
│Red Bot Version: 3.3.11 │ └────────────────┘
│Discord.py Version: 1.3.4 │
│Shards: 1 │
│Storage type: JSON │
│2 cogs with 36 commands │
└──────────────────────────────────┘
Invite URL: https://discordapp.com/oauth2/authorize?client_id=<REDACTED>&scope=bot
Looking for a quick guide on setting up Red? https://docs.discord.red/en/stable/getting_started.html
- Test your bot with the
[p]ping
command.