Skip to content

1.0.3

Compare
Choose a tag to compare
@valzargaming valzargaming released this 08 Mar 20:09
· 77 commits to main since this release

Messages sent from Discord to Twitch can be prefixed with the #channel name (usually the name of the streamer) to designate that their message should be sent to them. If no prefix is provided messages will either be sent to the channel where the last message was sent by anyone in either Twitch or Discord (as seen by the bot), or if no messages have been sent at all, the current(channel) of the channels array.

The owner of the Twitch channel can tell the bot to join another Twitch channel by using the join channel command where channel is the name of the channel they wish to send the bot to. (NOTE: The command does not require the # prefix like Discord does)

The owner of the Twitch channel can tell the bot to leave their chat by using the leave command.
-If used in conjunction with DiscordPHP, the joinChannel(string $channel) and leaveChannel(string $channel) functions have been left intentionally exposed so it is possible to tell the bot to join or leave channels from within the scope of the DiscordPHP. The string passed should be the name of the channel (without any prefixes) and it is crucial for semantics sake that the string not be left blank.