iLotterytea's Twitch Bot
Bot's Twitch PageSource code
  • 👋Introduction
  • 🚪How do I make the bot join my chat?
  • 💽Commands
    • 📺Channel management
      • Timers
      • Settings
      • Custom commands
    • 🛰️Stream events and notifications
      • Stream events
      • Stream notifications
    • 😀Emote management
      • Check the usage of emote
      • Emote usage leaderboard
      • Emote set similarity check
    • ⚔️Moderation management
      • Mass ping
      • Spam
    • 👤User management
      • User ban check
    • 🥪Miscellaneous
      • Minecraft server status check
      • Get today's holidays
      • Ping!
  • 🚨Error codes
Powered by GitBook
On this page
  • Syntax
  • Create a new custom command
  • Delete the custom command
  • Edit the message for custom command
  • Toggle (enable/disable) the custom command
  • Check the information about custom command
  • Usage
  • Creating a new custom command
  • Deleting the custom command
  • Editing the message for custom command
  • Toggling the custom command
  • Checking the information about the custom command
  • Responses
  • Creating a new custom command
  • Deleting the custom command
  • Editing the message for custom command
  • Toggling the custom command
  • Checking the information about the custom command
  • Error handling
  1. Commands
  2. Channel management

Custom commands

This command is for broadcaster only

The !cmd command gives broadcasters the ability to create their own chat commands.

Syntax

Create a new custom command

!cmd new <name> <message...>

  • <name> - The name for new custom command. It should be unique for your chat. A prefix must be specified if you want a prefixed command, e.g. !sub, !server.

  • <message> - Text that will be sent when the custom command is invoked.

Delete the custom command

!cmd delete <name>

  • <name> - Name of custom command.

Edit the message for custom command

!cmd message <name> <message...>

  • <name> - Name of custom command.

  • <message> - Text with which to replace

Toggle (enable/disable) the custom command

!cmd toggle <name>

  • <name> - Name of custom command.

Check the information about custom command

!cmd info <name>

  • <name> - Name of custom command

Usage

Creating a new custom command

  • !cmd new !sub Buy a Twitch sub at this link and become like the rest of us 😎

Deleting the custom command

  • !cmd delete !sub

Editing the message for custom command

  • !cmd message !sub Buy a Prime sub at this link and become like the rest of us 😎

Toggling the custom command

  • !cmd toggle !sub

Checking the information about the custom command

  • !cmd info !sub

Responses

Creating a new custom command

  • A new custom command with "!sub" name has been successfully created!

Deleting the custom command

  • The "!sub" (ID ...) custom command has been deleted!

Editing the message for custom command

  • The message for "!sub" (ID ...) custom command has been changed!

Toggling the custom command

  • If the command was enabled The "!sub" (ID ...) custom command has been disabled!

  • If the command was disabled The "!sub" (ID ...) custom command has been enabled!

Checking the information about the custom command

  • ✅ !sub (ID ...) | Message: Buy a Prime sub at this link and become like the rest of us 😎

Error handling

Last updated 1 year ago

💽
📺
Error 0: Not enough arguments
Error 11: Namesake creation
Error 12: Not found
Error 127: Something went wrong