Download the PHP package konstantin-kuklin/stream-defense-bot without Composer
On this page you can find all versions of the php package konstantin-kuklin/stream-defense-bot. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package stream-defense-bot
StreamDefenseBot - One bot to rule them all
StreamDefenseBot helps you to manage your accounts in hard fights of streamdefense.com
Installation / Usage
Install PHP 7.1.3 or above. PHP.net.
Download SdBot.phar file here.
Update the bot to the latest version:
Create config.yaml
file near the sdbot.phar file. File signature example with descriptions /config/config.yml.dst
That is it! The bot is ready:
Documentation
Bot knows about 4 message types:
- message from bot
owner
(set owner in config.yml) - message from bot
leader
(set follow_to in config.yml) - message from anybody else (always will be ignored)
- special messages from TTDbot
Owner
You can't become a bot owner except by config.yml.
You have additional bot command which are always starts from special char $
:
- Follow command variations allowed if the bot not yet following somebody:
$follow
all the bots for whom you own the owner will repeat your messages@bot1 $follow
the concretebot1
will repeat your messages if you are the owner for it@bot1 $follow @somebody
the concretebot1
will start followingsomebody
if your are the owner ofbot1
group$follow
each bot ingroup
will start following you if your are his owner (so if in chat 2 different bot have group OP, but different owners - behavior will be different, I hope I was clear here in explanation)group$follow @somebody
same as previous, but will followsomebody
- Unfollow command has the same syntax
$init
all your bots init their game by writing!class
message fromconfig.yml
Game commands:
- You have all grants as a leader plus !leave for bot.
- If your twitch nick has owner+leader grants when you !leave the bot will leave too.
Leader
As a leader of some bots you can:
$unfollow
to stop following all bots from you@bot $unfollow
to stop following you for concretebot
group$unfollow
each bot ingroup
stop following you if you are his leader
All followed you bots will repeat that commands:
- !t !train
- !p !pd !sp
- !1 !2 !3 !4 !5 !6 !7 !8 !9 !10 !11 !12
- !a !altar
- !fill
- ! - simple ping command
Also you are able to give an order:
@bot1 !a
justbot1
will repeat!a
if you are his leadergroup!a
each bot ingroup
repeat!a
if you are his leader
The allowed order list is all commands from repeat section plus:
- !map1 !map2 !map3 !map4 !map5 !map6 !map7 !map8 !map9
- !archer !bard !frostmage !firemage !rogue !alchemist
- !hireshade !hireicelo !hireadara !hiremoor !hiremolan !hiregunnar !hirejubal !hirecortez
- !mfollow !unfollow
- !mfill !ma !mt !m1 !m2 !m3 !m4 !m5 !m6 !m7 !m8 !m9 !m10 !m11 !m12
- !mp !mpd !msp
Afterword
It may not stable in some cases, because was written like in hackathon style without spending lot times. So feel free to open bug issues or ask questions! Have a good game!
All versions of stream-defense-bot with dependencies
phergie/phergie-irc-client-react Version ^3.3
symfony/event-dispatcher Version ^4.0
symfony/yaml Version ^4.0
symfony/console Version ^4.0
padraic/phar-updater Version ^1.0
symfony/lock Version ^4.0