How to add multiple streamers notifcations on Discord botrix?

Adding Multiple Streamer Notifications to Discord Botrix

Discord Botrix is a powerful tool that allows you to automate various tasks on Discord, including sending notifications to your server. In this article, we will show you how to add multiple streamer notifications to your Discord bot.

Step 1: Create a New Bot

Before we can add multiple streamer notifications, we need to create a new bot on Discord. To do this, follow these steps:

  • Go to the Discord Developer Portal (https://discord.com/developers/applications) and log in with your Discord account.
  • Click on the "New Application" button and give your bot a name.
  • Click on the "Bot" tab and then click on the "Add Bot" button.
  • Follow the instructions to create your bot.

Step 2: Set Up the Bot’s Permissions

To add multiple streamer notifications, we need to set up the bot’s permissions. To do this, follow these steps:

  • Go to the "Bot" tab and then click on the "Permissions" button.
  • Click on the "Add Permission" button and select "Server Members" from the list of permissions.
  • Select the "View Channel" permission and then click on the "Add Permission" button.
  • Repeat this process for the "Send Messages" permission.

Step 3: Create a New Notification

To add multiple streamer notifications, we need to create a new notification. To do this, follow these steps:

  • Go to the "Notifications" tab and click on the "Create Notification" button.
  • Select "Stream" from the list of notification types.
  • Fill in the required information, including the streamer’s name and the notification message.
  • Click on the "Create Notification" button.

Step 4: Add Multiple Streamer Notifications

To add multiple streamer notifications, we need to create multiple notifications. To do this, follow these steps:

  • Go to the "Notifications" tab and click on the "Create Notification" button.
  • Select "Stream" from the list of notification types.
  • Fill in the required information, including the streamer’s name and the notification message.
  • Click on the "Create Notification" button.
  • Repeat this process to create multiple notifications.

Step 5: Add a Script to Send Notifications

To send notifications to multiple streamers, we need to add a script to our bot. To do this, follow these steps:

  • Go to the "Code" tab and click on the "Add Script" button.
  • Select "Python" from the list of script types.
  • Write a script that sends notifications to multiple streamers. Here is an example script:

    import discord
    from discord.ext import commands

bot = commands.Bot(command_prefix=’!’)

@bot.event
async def on_ready():
print(f'{bot.user.name} has connected to Discord!’)

@bot.command(name=’streamer’)
async def streamer(ctx, streamer: str):
channel = ctx.channel
await channel.send(f’{streamer} is streaming!’)
await bot.wait_until_ready()

@bot.command(name=’streamer notification’)
async def streamer_notification(ctx, streamer: str, message: str):
channel = ctx.channel
await channel.send(f’{streamer} is streaming and will send a notification: {message}’)

bot.run(‘YOUR_BOT_TOKEN’)


This script creates a new bot and adds two commands: `streamer` and `streamer notification`. The `streamer` command sends a notification to a specific streamer, while the `streamer notification` command sends a notification to multiple streamers.

**Step 6: Test the Script**

To test the script, we need to run it in a test channel. To do this, follow these steps:

* Go to the "Code" tab and click on the "Test" button.
* Select the test channel where we want to test the script.
* Run the script by clicking on the "Run" button.

**Step 7: Add the Script to Your Bot**

To add the script to your bot, follow these steps:

* Go to the "Code" tab and click on the "Add Script" button.
* Select "Python" from the list of script types.
* Paste the script into the code editor.
* Click on the "Save" button.

**Step 8: Test the Script Again**

To test the script again, follow these steps:

* Go to the "Code" tab and click on the "Test" button.
* Select the test channel where we want to test the script.
* Run the script by clicking on the "Run" button.

**Conclusion**

Adding multiple streamer notifications to your Discord bot is a simple process that requires a few steps. By following these steps, you can create multiple notifications that will send to multiple streamers. This can be useful for a variety of purposes, such as sending notifications to multiple streamers at the same time or sending notifications to multiple streamers at different times.

**Tips and Variations**

* To add a delay between notifications, you can use the `await bot.wait_until_ready()` function to wait for the bot to be ready before sending notifications.
* To add a message to the notification, you can use the `f` string notation to insert the message into the notification.
* To add a custom notification icon, you can use the `discord.utils.get()` function to get the notification icon from the Discord API.
* To add a custom notification color, you can use the `discord.utils.get()` function to get the notification color from the Discord API.

**Troubleshooting**

* If you encounter any issues with the script, make sure that you have the correct permissions and that the script is running in the correct channel.
* If you encounter any issues with the notification, make sure that the notification is being sent to the correct channel and that the notification icon is being displayed correctly.

By following these steps and tips, you can add multiple streamer notifications to your Discord bot and automate various tasks on Discord.

Unlock the Future: Watch Our Essential Tech Videos!


Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top