All Projects → brhigginsuk → discord-activity-monitor

brhigginsuk / discord-activity-monitor

Licence: MIT license
Discord bot to add/remove roles based on user activity

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to discord-activity-monitor

suggestions-bot
A Discord bot designed to build better communities by encouraging a positive and constructive relationship between community and staff.
Stars: ✭ 22 (-65.08%)
Mutual labels:  discord-js
crove-bot
Discord.js bot. Can play music from YouTube, Spotify; has many other commands such as purge, kick, 8ball, etc.
Stars: ✭ 13 (-79.37%)
Mutual labels:  discord-js
Commando
[DEPRECATED] ⚫ Commando Discord bot built on discord.js-commando.
Stars: ✭ 78 (+23.81%)
Mutual labels:  discord-js
Music-Slash-Bot
A music bot written in Discord.js and Distube using the slash command
Stars: ✭ 34 (-46.03%)
Mutual labels:  discord-js
ScrimBot
Discord bot for organizing Valorant custom games.
Stars: ✭ 31 (-50.79%)
Mutual labels:  discord-js
DM-BOT
📧 DM-BOT is discord bot that can record direct messages. One of us! You can also reply to those messages! DM-BOT is easy to use & understand! I decided to use Discord.js, it's literally the best.
Stars: ✭ 31 (-50.79%)
Mutual labels:  discord-js
Azuma
A package that actually syncs your ratelimits across all your clusters on Discord.JS
Stars: ✭ 19 (-69.84%)
Mutual labels:  discord-js
Welcome-Bot
A cool multi-purpose discord bot that solves all your problems. I have features such as Moderation, ModLog, Welcome & Goodbye logs, Fun, Music
Stars: ✭ 73 (+15.87%)
Mutual labels:  discord-js
slash-level
✨ The first and only slash-command based Discord level bot ✨
Stars: ✭ 31 (-50.79%)
Mutual labels:  discord-js
support-bot-with-buttons
A Support Bot For Your Server.Easy To Host.Work with Buttons Interaction.
Stars: ✭ 44 (-30.16%)
Mutual labels:  discord-js
DiscordBot-Template
A boilerplate / template for discord.js bots with 100% coverage of Discord API, command handler, error handler based on https://discordjs.guide/
Stars: ✭ 129 (+104.76%)
Mutual labels:  discord-js
captcha-generator
An NPM package to generate captcha images that can be used in Discord bots or various other projects
Stars: ✭ 45 (-28.57%)
Mutual labels:  discord-js
Cleve
Open sourced Discord chat bot powered by brainshop.ai
Stars: ✭ 30 (-52.38%)
Mutual labels:  discord-js
yumeko
The real yumeko UwU. Rewrite: https://github.com/youKnowOwO/yumeko-ts
Stars: ✭ 28 (-55.56%)
Mutual labels:  discord-js
mass-dm-discord
A MassDM selfbot which is working in 2021. Only for educational purposes 🥱🚀
Stars: ✭ 87 (+38.1%)
Mutual labels:  discord-js
gatekeeper
supercharge your discord commands by gatekeeping them in a flow of reactivity ⛓⚡
Stars: ✭ 52 (-17.46%)
Mutual labels:  discord-js
Tickety
a simple discord.js ticket system bot
Stars: ✭ 61 (-3.17%)
Mutual labels:  discord-js
kanna kobayashi
Kanna Kobayashi's open source repository (Discord Bot)
Stars: ✭ 16 (-74.6%)
Mutual labels:  discord-js
sharedsharder
Shard your discord.js bot across devices!
Stars: ✭ 18 (-71.43%)
Mutual labels:  discord-js
auto
A code scanner Discord bot.
Stars: ✭ 15 (-76.19%)
Mutual labels:  discord-js

Build status

I am no longer maintaining this project. It should continue to work just fine, but if it breaks I won't be interested in fixing it.
You are welcome to fork and update the code yourself. I'm happy to answer any questions you may have in this regard.

Discord Activity Monitor

A Discord bot to assign/remove a role from users in your guild based on whether or not they have been active lately.

Features

  • Remove an 'active' role from a user who has not been active for a number of days
  • Optionally assign an 'inactive' role to a user when they lose the 'active' role
  • Optionally re-assign the 'active' role when a user who becomes active again
  • Configure specific users or roles to be exempt from monitoring
  • Configure threshold for inactivity

Use cases

  • Keep active members at the top of the members sidebar
  • Reward active members for participating in the community
  • Recognise how many inactive members your server has

Getting started

Role Assigner needs to be deployed before you can invite it to your Discord server. Please see my written deployment guide for deployment instructions.
Once you have deployed the bot then return here to follow the Discord setup instructions below.

This button can be used for following the Heroku deployment steps.

Deploy to Heroku

Discord setup

Follow these instructions once you have deployed Activity Monitor and added it to your Discord server. Use @Activity Monitor help to view available commands.

Admin only
The setup command requires administrator permission in the Discord server.

  1. Create a role (or choose an existing one) to use to mark active users
  2. Put the bot's role higher in the list than your chosen role
  3. Run @Activity Monitor setup in a channel the bot can read and write in
    • If you've nicknamed the bot, substitute @Activity Monitor for it's nickname
  4. Respond with the information the bot asks you for, until setup is complete

You can view your guild settings with @Activity Monitor view-config

Example:
Example setup

Permissions

The bot requires certain permissions, which you are prompted for on the invite screen. Each permission has a reason for being required, explained below.

Permission Reason
Read messages Detect when people are active
Send messages Ask setup questions and respond to commands
Manage roles Assign and remove the active role from users
Embed links Respond to commands

Troubleshooting

  • Test Activity Monitor's ability to reply by using the version command @Activity Monitor version
  • Double check that Activity Monitor has both read and write permissions in the channel you're using
  • Make sure you're actually mentioning the bot and not the role with the same name
  • Make sure you have the 'Administrator' permission if you're trying to use an admin command
  • Double check that you've given Activity Monitor all the necessary permissions
  • Make sure that the 'Activity Monitor' role is higher in the server role hierarchy than the active/inactive roles

Built With

Versioning

SemVer is used for versioning. View available versions on the tags page.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].