Skip to content

Latest commit

 

History

History
37 lines (36 loc) · 1.7 KB

COMMANDS.md

File metadata and controls

37 lines (36 loc) · 1.7 KB

Commands

Discord

Every command starts with !invi

  • setRole - Sets the role who can operate the bot on the discord server.
    • Usage: !invi setRole @<role>
    • Example: !invi setRole @Admin
  • join - Twitch bot joins the given Twitch channel.
    • Usage: !invi join #<twitch_channel> [<max_uses> <max_age>]
    • Max uses and max age are optional but both are needed to use this optional.
    • The max age parameter should be given in minutes.
    • A 0 for max uses or max age means infinite.
    • Defaults - Max uses: 1, Max age: 15 min
    • Example: !invi join #invi_me 1 15
  • update - Updates the max uses and the max age for a given Twitch channel.
    • Usage: !invi update #<twitch_channel> <max_uses> <max_age>
    • The max age parameter should be given in minutes.
    • A 0 for max uses or max age means infinite.
    • Example: !invi update #invi_me 2 10
  • list - Lists all joined twitch channel for this discord server.
  • leave - Twitch bot leaves the given Twitch channel.
    • Usage: !invi leave #<twitch_channel>
    • Example: !invi leave #invi_me
  • help - Links to this README.md file for all commands.

Twitch

Every command starts with !invi

  • @<target_user> - Sends the discord invite link to the given user.
    • Usage: !invi @<target_user> [max_uses] [max_age]
    • The max age parameter should be given in minutes.
    • For the max age parameter the max uses parameter is also needed.
    • A 0 for max uses or max age means infinite.
    • Examples
      • !invi @invi_me
      • !invi @invi_me 3
      • !invi @invi_me 2 10
  • purge - Deletes the last created discord invite link.
  • leave - The twitch bot leaves the twitch channel.