Skip to content

Bot that notifies everyone about joining of the voice chat room.

License

Notifications You must be signed in to change notification settings

Anstane/active_user_checker_discord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Voice Channel Notification Bot

This Discord bot is designed to notify a specific role in the server about users joining voice channels. The role and text channel is specified in the .env file using the ROLE_NAME and TEXT_CHANNEL variable.

Prerequisites

Before you start, make sure you have the Discord bot token:

Setup

Clone the repository:

git clone git@github.com:Anstane/active_user_checker_discord.git

Install the poetry:

pip install poetry

Start the virtual env:

poetry shell

Install the required dependencies:

poetry install

Add your .env file to the core of project:

DISCORD_TOKEN=your_discord_bot_token
TEXT_CHANNEL=your_text_channel_id
ROLE_NAME=name_of_your_role

Running the Bot

Run the bot using the following commands:

cd active_user_checker_discord
poetry run python main.py

Bot commands:

  • /info: Get information about the bot and its functionality.

Notes

  • Make sure the bot has the necessary permissions to read messages in the specified text channel and access voice state updates.
  • Adjust the role name in the code to match the actual role name in your Discord server.
  • Uncomment the relevant code if you want the bot to send messages to the Telegram.

Author

About

Bot that notifies everyone about joining of the voice chat room.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages