Skip to content

YouTubeCount

Commands for setting up the YouTubeCount integration

Commands

Youtubecount

;youtubecount

Commands related to youtube count setup

Running this command without the subcommands will show the help for this group

Youtubecount Create

;youtubecount create <creator_link> [count_type] [formatting]
Name Type Description Optional Default Value
creator_link Creator's Link The link to the creator for whose counts will be created. Could be a link to any of his videos as well False -
count_type YouTubeCountType The count type that will be created True all
formatting Text The formatting that will be displayed on the created counts. You can use format variables here True "YouTube {type}: {count}"

Creates the channels where the live count will be shown

<creator_link> must be a youtube channel/user/video link relating to that creator.

[count_type] can only be "Subscribers", "Views" or "Videos" If [count_type] is not provided then all are chosen.

Use Youtubecount Format after running this command if you want to change it per type

Command Result
;youtubecount create https://www.youtube.com/user/PewDiePie Creates 3 channels(for Subscribers, Views and Videos) with default formatting
;youtubecount create https://www.youtube.com/user/PewDiePie Subscribers Creates one channel for subscribers only with default formatting
;youtubecount create https://www.youtube.com/user/PewDiePie Subscribers 9yo army count: {count} Will create one channel for Subscribers which will look like 9yo Army count: 100,345,678

Youtubecount Format

;youtubecount format <creator_link> [count_type] [formatting]
Name Type Description Optional Default Value
creator_link Creator's Link The link to the creator for whose counts will be created. Could be a link to any of his videos as well False -
count_type YouTubeCountType The count type whose formatting will be changed True all
formatting Text The new formatting for the channel(s). You can use format variables here True "YouTube {type}: {count}"

Set the formatting for the specific type of youtubecount!

<count_type> can only be "Subscribers", "Views" or "Videos"

[count_type] can only be "Subscribers", "Views" or "Videos" If [count_type] is not provided then all are chosen.

Note

If after running the command, the {count} variable is replaced with 0 then don't panic. That's just because we weren't able to get the values from our database. This will be changed to the correct value on the next loop automatically.

To prevent this, use channel URLs for <creator_link> which have channel ID in them. (You can get that from Youtubecount List command's response embed's title!)

Note

The following examples assume that you already have counts set up for the said creator. If you haven't, then create them and use formatting parameter there!

Command Result
;youtubecount format https://www.youtube.com/user/PewDiePie Sets formatting for 3 count channels (Subscribers, Views and Videos) to default formatting
;youtubecount format https://www.youtube.com/user/PewDiePie Subscribers Sets formatting for subscribers count only to default formatting
;youtubecount format https://www.youtube.com/user/PewDiePie Subscribers 9yo army count: {count} Sets formatting for only subscribers count which will look something like 9yo Army count: 100,345,678

Youtubecount List

;youtubecount list

Shows the information about the currently set types in this server

Youtubecount Remove

;youtubecount remove <creator_link> [count_type]
Name Type Description Optional Default Value
creator_link Creator's Link The link to the creator for whose counts will be removed. Could be a link to any of his videos as well False -
count_type YouTubeCountType The count type whose formatting will be changed True all

Removes a particular channel or the whole creator from the server

Note

The following examples assume that you already have counts set up for the said creator

Command Result
;youtubecount remove https://www.youtube.com/user/PewDiePie Removes all 3 count channels (Subscribers, Views and Videos)
;youtubecount remove https://www.youtube.com/user/PewDiePie Subscribers Removes subscribers count only

Youtubecount Fix

;youtubecount fix

Removes all the channels from the bot's database which don't exist anymore or the ones it can't see!

Note

This is a semi-safe action i.e. it will delete all channels from database which it can't find anymore. Use ;botpermissions command to see if it's just a permissions problem!

Youtubecount Reset

;youtubecount reset

Resets the youtubecount connected voice channels in the server. Deletes the channels if possible and clears them from database.

Warning

This action is irreversible and all the data related to youtube counts will be removed permanently.

Proceed with caution!

Format variables

Variable Description
{type} Subscribers/Views/Videos
{name} Display Name of the creator
{count} Number of subscribers/views/videos
{scount} Rounded off version of count. For example: 15k instead of 15000

Tip

Confused on what format variables are and how to use them?

Check out our guide on them at Formatting Guide


Last update: 2020-10-21