#Yukari Commands
- Yukari throttles commands on a by-user basis. She will ignore throttled users' commands. Currently it is only active for Cytube users, since IRC cannot be spammed as much. Each command has a 'cost' associated with it- the higher the cost the faster the user will hit the limit and become throttled. In general, commands that are more expensive to compute and commands connected to an external API have higher cost. Throtteld users must wait for their 'allowance' to fill back up. Most moderator commands such as
$omitand$replayhave a cost of 0.
##General Commands:
$greetGreets the user. This is very important!$byeSays goodbye to the user.$np [x]Prints the currently playing media information to chat. Optional integer argumentxcan be used as an offset (previous or upcoming media).$ask questionAnswers Yes or No randomly to question.$choose choicesSelects one choice fromchoices.choicesmay be separated by whitespace or commas.$permute choicesPermuteschoices.choicesmay be separated by whitespace or commas.$anagram wordsReturns an anagram ofwords. www.anagramgenius.com is the server that solves the anagrams.$8ball questionAnswers the question using a magic 8-ball.$dice [rolls, sides]Rolls dice and outputs sum. Rolls 1d6 without arguments.$uptimeLists the uptimes of Yukari and other connected serviecs.
##CyTube Commands:
$whoChooses a Cytube user randomly$addQueue media queried from the database.
[-s {queue,q,add,a}] [-u USER] [-g GUEST]
[-n NUMBER] [-t TITLE] [-T TEMPORARY] [-N NEXT] [-r RECENT]-s, --sample {queue,q,add,a,like,l}queue(q),add(a),like(l) method of querying media from the database.queuesearchs media that was ever queued by user.addsearchs media that was first added, or introduced by user.likesearches media that was liked by user.
-u, --user USERCytube username.-r, --registeredTrue/False. Guests are not registered users.-n, --numberThe limit for querying Media table. The maximum number for non-moderaters is 3, and 20 for moderators and above.-tsearch by title-T, --temporaryadd as temporary-N, --nextadd as next-r, --recentIncludes the most recent queue in the search pool. By deafult this is set to false, meaning Yukari will exclude 200 of the most recently queued media.-z, --tagSearches VocaDB tags for Youtube videos.
Examples:
$add -u sweetonuts -n 3 -N true -s l
$add --temporary true --next true --number 2
##CyTube PM Commands:
$pointsShow points and basic user statistics. Adding and queuing media will generate more points. Staying in the channel will yield a small amount of points.- The stats are adds, queues, likes (received), dislikes (received), Liked, Disliked
$readTell Yukari that I have read this.$sms numberSubscribe to Mikumonday reminder via SMS.numberis a valid U.S. phone number that supports text messages from short codes. Message and data rates may apply. A reminder will be published each week, approximatley 4 hours before Mikumonday begins, and also on special occasions and annoucements (not to exceed 3 times a year).
##CyTube Moderator commands:
$manageSet Yukari to manage the playlist. Yukari will continually queue videos (as temporary, at end) until the room is unoccupied by named users, the playlist is cleared, or manually cancelled (with$manage).points [user]Retrieves points and stats information ofuser.useris assumed to be registered. Registeredusernot found in the database will return0's.$replaySet the currently playing media to replay once. If Yukari detects a non-natural media or playlist change the replay will be cancelled.$vote replayMakes a poll asking users if the current media should be replayed. Needs at least 30 seconds of runtime left. Maximum poll time is 100 seconds. Ending the poll early or switching media manually will cancel the vote.$repeatAlias of$replay$omit [type, id]Add the omit flag to the specified media. If nothing is specified, the flag is applied to the currently playing media. Omitted media will not be selected by$add.$unomit [type, id]Remove omit flag.$blacklist [type, id]Add the blacklist flag to the specified media. If nothing is specified, the flag is appiled to the currently playing media. Blacklisted media will be deleted, and any subsequent queues will be automatically removed from the playlist.$vocadb [VocaDB Song Id]Match the currently playing media with a VocaDB Id. This will update the VocaDB Panel.-fForce update the cache #TODO-pPV match. Use this when the PV is the same as the entry in VocaDB (and not just the song). Without this the VocaDB panel will not display non-audio related artists such as illustrators and animators #TODO
#####**experimental commands - use with care **
-
$reprint [smid]Downloads a NicoNicoDouga video, and uploads it to Youtube. There is a delay of 5 minutes after the video has been uploaded before the video is automatically queued to the playlist, to allow Youtube to finish processing the video. Only admins who have been listed inallowed.txtcan use this command. More information can be found at https://github.com/d-dd/Yukari/blob/master/connections/cytube/plugins/loaders/README.md. -
$tweet [status]Tweets status to the channel's Twitter account. Command must be sent from Cytube chat, and the user must be listed in thetweet.allowedwhitelist to use the command.