Skip to content

About

A bot that manages the TrilluXe Community Discord server.

Topics

Resources

Contributing

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

TrillBot

CI/CD

This bot manages the TrilluXe Community Discord server. The server is owned by TrilluXe. The maintainer of this bot is ceptoplex. Found a bug or got an idea for a new feature? Community contributions are possible.

Discord Twitter: Follow @trilluxe Twitter: Follow @ceptoplex

1 Functionality

The bot offers the following functionality:

  • Anti-Abuse: Detect and mitigate abuse.
    • Kick users that try to impersonate TrilluXe, the bot or any other VIP.
    • Prevent bot waves to flood the server.
  • Elastic Voice Channels: Replicate voice channels automatically. This ensures that there is always one empty voice channel available of each existing type (where different types means different names or different user limits).

2 Configuration

To configure the bot, use system environment variables. They have to start with the prefix TRILLBOT_. The following settings exist:

  • TRILLBOT_DISCORD_TOKEN (string)

    The Discord bot token of the Discord developer application that should be used.

3 Execution

Python 3.9

~$ pip3 install -r requirements
~$ cd src
~$ set TRILLBOT_DISCORD_TOKEN={...}
~$ python3 -m trillbot

Docker

~$ docker build -t trillbot-discord .
~$ docker run -e TRILLBOT_DISCORD_TOKEN={...} trillbot-discord

Invitation to Discord Server

To invite the bot to a Discord server, the following URL should be used (after filling in the OAuth2 client ID of your Discord developer application):

https://discordapp.com/api/oauth2/authorize?client_id={...}&permissions=8&scope=bot

It includes the OAuth2 scope bot and the Administrator permission.

About

A bot that manages the TrilluXe Community Discord server.

Topics

Resources

Contributing

Stars

1 star

Watchers

1 watching

Forks

Used by

Contributors

Languages