Skip to content

Simple discord bot to show a subreddit's mod queue

License

Notifications You must be signed in to change notification settings

Galarzaa90/ModOverseer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ModOverseer

A basic bot that displays a subreddit's Mod Queue in a designated channel.

Entries are kept up to date and removed when handled.

This bot is made for personal use, but I'm sharing it in case anyone finds it useful.

Usage

To use, create a file called config.ini, you can check the example file to see the structure.

To use this, you need to create your own reddit web application, in order to get a client id and client secret.

Once you have created it, you need to get a refresh token via reddit's oauth method.
I acquired it using this script, I might add one in the future that doesn't require PRAW.
The account used to get the token must be a moderator of the subreddit.

Once you have acquired all the required information, you need to specify a discord server id and a discord channel id. This is all the info you will need for config.ini, apart from a token for your discord bot.

You may notice a file queue.json is created, this serves as a map to keep track of which discord message belongs to which queue entry. Deleting or tampering this file may lead to duplicate and/or orphan messages.

Example

image

About

Simple discord bot to show a subreddit's mod queue

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages