[Discord] Going Live like Mee6 (Now with autohost)

autohost
dakoda
discord
javascript
phantombot

#1

Anyone wish they could have a script to post into there discord when a friend goes live?
Well today you may be in luck with this custom script!

Current Version:
1.3.0

Changes:

  • 13th March 2018

    • Added a auto host queue with a toggle on and off
  • 16th March 2018

    • Fixed a few bugs with the hosting system
    • Added a command to manually add people to the autohost queue (current session only and must be live)
  • 21st September 2018

    • Fixed the toggle’s so they now work correctly.
  • 25th October 2018

    • Fixed the few true and false checks that broke in an update

Setup:
Install the scripts below into the correct folders then continue.

  • Run the command !goinglive channe [channel_name] in discord to select a diffrent channel to the default going-live channel name.
  • To add new streams type !goinglive add [streamer_name] or to remove do !goinglive remove [streamer_name]
  • Use !goinglive toggle [type] if you would like to toggle the message on and off

Files:

Example:
sample image


#2

May be PhantomBot\scripts\lang\custom\discord \custom \systems\system-goingLiveSystem.js ? Sorry if the question is stupid, I’m not sure.


#3

custom folder and the ones after that you have to make yourself


#4

I mean that probably you missed “\custom” in the path. Not custom lang but custom discord.


#5

thats cus you dont need custom in that spot you only need it once in the first loacaion i put it


#6

Got it, thank you


#7

ya cus its a custom lang instead of the default english ones so only needs thats custom folde


#8

Misprint on line 184 in goingLiveSystem.js: “dsicord”


#9

thats ok that doesnt effect anything its only the timer name but ill fix it anyways


#10

:ok_hand:t2:


#11

I like the idea of this module.

However, I do wish the embed was structured more to match the default Twitch notification alerts.

Other than that, nice job!


#12

Jack the only issue it that it doesnt save the same information like the average and high for other users thats why i limited it to what it does have


#13

PhantomBot Version: 2.4.0.2

Me: !goinglive add lirik
Bot: @Me, lirik has been added from the streamer list.
Me: !goinglive toggle lirik
Bot: @Me, lirik is not one of the listed toggles.

:frowning_face:


#14

tut tut does it say toggle needs a name? the toggle is a globe on or off for all users please read the commands above


#15

what i think i should do its just have it as !goinglive toggle and thats the only thing you can toggle so makes no sence to have the goinglive after it


#16

I’ve tried everything before

Me: !goinglive toggle
Bot: @Me, Useage: !goinglive toggle [type]


#17

Version:
1.0.1

Files:

Fixes:

  • Removed the sub target for the toggle as there is only 1 toggle

#18

$1, $2 has been added from the streamer list


#19

Version:
1.0.2

Files:

Fixes:

  • Fixed a typo for the add command
  • Added a lang area for the link text

#20

$1, has gone live

Just clarifying question: is that supposed to be “$1 has gone live” without comma, either "$1, $2 has gone live with $2" ?

Also:
[INFO] Lang string for key "discord.streamhandler.common.viewers" was not found