Skip to content

A bot that will allow only one post per user on one channel and clean letters from reactions in another.

Notifications You must be signed in to change notification settings

BNeutral/discordJanitorBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Purpose

This bot will force a one message per user limit on a channel by deleting old messages from unique users (retroactively on startup), and cleans letter reactions from messages in one channel (not retroactively). Messages deleted from the channel will be logged to another channel (for moderation purposes) and also sent to the user (in case of accidental double posting).

Requirements

Setup

  • Add the bot to your server using the link created at the discord dev page for the app, under OAuth2 submenu, by clicking the bot checkbox. Bot permissions needed are be manage messages, read messages, read message history.
  • Modify config.py to your liking
  • Create a secrets.py file with the content:
BOT_TOKEN = <your bot token here, as a string. For example "Aao23...">

Run

python ./janibot.py

About

A bot that will allow only one post per user on one channel and clean letters from reactions in another.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages