Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChannelBan

This bot requires Python 3.10 or later.

This bot watches a channel and kicks users if they post in it (with configurable role exclusions).

This bot requires the Server Members and Message Content intents configured in the dev portal.

In guilds it requires the bot scope, Guild Install, and the following permissions: View Channels, Read Message History, Moderate Members, Manage Messages and Kick Members.

Sample invite link:

https://discord.com/oauth2/authorize?client_id=<YOUR_CLIENT_ID>&permissions=1099511702530&integration_type=0&scope=bot

To run:

cd channelbans/
cp .env.example .env

edit .env with all the values specified in the comments.

pipenv is recommended.

pipenv install
pipenv run bot

About

small discord bot to kick people posting to a channel, primarily developed for the blendOS discord but works anywhere.

Topics

Resources

Stars

5 stars

Watchers

0 watching

Forks

Used by

Contributors

Languages