Skip to content

Community Custom Commands

Thanh Hinh edited this page Jan 5, 2019 · 6 revisions

Below is a list of custom command ideas submitted by the community that you might want to add to your chats. You can create custom commands for your account at botisimo.com/account/commands

TWITCH

!followage

response:

$(fetch https://2g.be/twitch/following.php?user=$(urlencode $(username))&channel=$(urlencode $(js '$(channel)'.replace('#', '')))&format=$(urlencode mwdhms))

usage:

@player1: !followage
@botisimo: @player1 has been following botisimo for 8 months, 3 weeks, 3 days, 8 hours, 29 minutes, 39 seconds

MIXER

!followage

response:

$(username) followed $(countdown $(fetch https://mixer.com/api/v1/channels/$(channelid)/follow?where=id:eq:$(userid) 0.followed.createdAt))

usage:

@player1: !followage
@botisimo: @player1 followed 3 months 27 days 4 hours 22 seconds ago

!followers

response:

$(channel) currently has $(fetch https://mixer.com/api/v1/channels/$(urlencode $(channel))?fields=numFollowers numFollowers) followers

usage:

@player1: !followers
@botisimo: Botisimo currently has 319 followers

!gamestats

response:

$(js (function() {
    var game = JSON.parse('$(fetch https://mixer.com/api/v1/types/$(fetch https://mixer.com/api/v1/channels/$(channel)?fields=type type.id))');
    var game_name = game.name;
    var game_online = parseInt(game.online);
    var game_viewers = parseInt(game.viewersCurrent);
    var game_average = (game_viewers / game_online).toFixed(2);

    return game.name+" currently has "+game_online.toLocaleString()+" streamers and "+game_viewers.toLocaleString()+" viewers for an average of "+game_average.toLocaleString()+" per streamer.";
})())

usage:

@player1: !gamestats
@botisimo: @game_name currently has @game_online streamers and @game_viewers viewers for an average of @game_average per streamer.

TWITCH & MIXER

!followage

response:

$(mixer $(username) followed $(countdown $(fetch https://mixer.com/api/v1/channels/$(channelid)/follow?where=id:eq:$(userid) 0.followed.createdAt)))$(twitch $(fetch https://2g.be/twitch/following.php?user=$(urlencode $(username))&channel=$(urlencode $(js '$(channel)'.replace('#', '')))&format=$(urlencode mwdhms)))

usage mixer:

@player1: !followage
@botisimo: @player1 followed 3 months 27 days 4 hours 22 seconds ago

usage twitch:

@player1: !followage
@botisimo: @player1 has been following botisimo for 8 months, 3 weeks, 3 days, 8 hours, 29 minutes, 39 seconds

ALL PLATFORMS

!8ball

response:

$(pick you better believe it! | awww hell nah! | SQUIRREL! | Sure? | I have no clue)

usage:

@player1: !8ball will i win this game?
@botisimo: awww hell nah!

!shoutout

response:

Don't forget to follow $(1) over at $(mixer https://mixer.com/$(js '$(1)'.replace('@', '')))$(twitch https://twitch.tv/$(js '$(1)'.replace('@', '')))

usage mixer:

@player1: !shoutout @player2
@botisimo: Don't forget to follow @player2 over at https://mixer.com/player2

usage twitch:

@player2: !shoutout @player2
@botisimo: Don't forget to follow @player2 over at https://twitch.tv/player2

!gamble

response:

$[cost $(1 10)] $(pick $(repeat 5 $[give $(1 10)] You broke even +0 | )$(repeat 5 You lost it all -$(1 10) | )$(repeat 5 $[give $(js 1.5 * $(1 10))] You got a return on your investment +$(js .5 * $(1 10)) | )$[give $(js 3 * $(1 10))] You hit the jackpot! +$(js 2 * $(1 10)))

usage:

@player1: !gamble 100
@botisimo: You hit the jackpot! +200
@player1: !gamble 100
@botisimo: You lost it all -100

!roll

response:

$(js '$(fetch https://rolz.org/api/?$(1 5d6).json details)'.split('+').map(t => parseInt(t.replace('(', '').replace(')', ''))).join(' '))

usage:

@player1: !roll
@botisimo: 4 2 6 3 4
@player1: !roll 2d12
@botisimo: 11 3

!spin

response:

$[cost $(1 100)] $(username) pays $(1 100) coins to spin the wheel and $(pick $(repeat 3 wins $(rng $(1 100) $(js 10 * $(1 100))) $[give $(rng $(1 100) $(js 10 * $(1 100)))] | ) loses it all | loses it all)

usage:

@player1: !spin 50
@botisimo: @player1 pays 50 coins to spin the wheel and wins 127
@player1: !spin
@botisimo: @player1 pays 100 coins to spin the wheel and loses it all

!currency

response:

$(username) you currently have $(currency) currency

usage:

@player1: !currency
@botisimo: @player1 you currently have 329 currency