Skip to content

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

License

Notifications You must be signed in to change notification settings

Ast3risk-ops/channelban

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChannelBan

This bot requires Python 3.11 or later.

This bot watches a channel and bans 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 Ban Members.

Sample invite link:

https://discord.com/oauth2/authorize?client_id=<YOUR_CLIENT_ID>&permissions=1099511702532&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 ban people posting to a channel, primarily developed for the blendOS discord but works anywhere.

Topics

Resources

License

Stars

Watchers

Forks

Languages