• home
    Docs Home
  • get_app
    Installation Guide
  • extension
    Commands
  • blur_on
    Filters
  • build
    Configuration
  • question_answer
    FAQ
  • lightbulb_outline
    Contribute
  • favorite
    Donate
FocaBot Docs
close
  • music_noteMusic Commands
  • photoImage Commands
  • gamesFun Commands
  • extensionMisc. Commands

Public Command
public f'play
Required parameter.
{link or title}

Aliases: f'p

Use this command while in a voice channel to request a song.
The command accepts both text searches and links. List of supported sites.
You can also upload a music file as an attachment.

Examples:

  • f'play Karma Fields - Edge of the world
  • f'play https://www.youtube.com/watch?v=7ZWU3d3iIBs
  • f'play Au5 - Freefall | speed=1.25 - see filters.
  • f'play Feint - Snake Eyes @1:06 - Makes the video start at 1:06

Public Command
public f'search
Required parameter.
{title}

Displays the first 10 YouTube results from a search term, then adds the selected item to the queue.

Public Command
public f'queue
Optional parameter, default "1".
[page?]

Aliases: f'q

Displays the entire music queue for the current guild. If there are more than 10 elements, they'll be divided in pages.

Public Command
public f'np

Aliases: f'nowPlayingf'n

Displays information about the currently playing song.

Public Command
public f'skip

Votes to skip the currently playing song.
By default, a song is skipped when 40% of the people present in the voice channel runs this command.
If the song was initially requested by you, or you are a DJ/Bot Commander, this command will skip instantly without voting.
Use f'voteskip if you want to force voting.

DJs/Bot Commanders only
lock_outline f'pause

Pauses playback.

DJs/Bot Commanders only
lock_outline f'resume

Resumes playback.

DJs/Bot Commanders only
lock_outline f'volume
Required parameter.
{vol}

Aliases: f'vol

Changes the global volume.

DJs/Bot Commanders and Song Requesters
perm_identity f'seek
Required parameter.
{time}

Aliases: f's

Seeks to the specified position. Doesn't work with livestreams and songs with static filters.

DJs/Bot Commanders only
lock_outline f'shuffle

Shuffles the items in the queue.

DJs/Bot Commanders only
lock_outline f'loop
Required parameter.
{mode}

Sets the loop mode. Can be either single, all or off.

DJs/Bot Commanders only
lock_outline f'clear

Aliases: f'stop

DJs/Bot Commanders and Song Requesters
perm_identity f'remove
Required parameter.
{position}

Aliases: f'rm

Removes the song at the specified position.

Examples:

  • f'remove 2
  • f'remove 4-8 (removes all items from 4 to 8)

DJs/Bot Commanders and Song Requesters
perm_identity f'removeLast

Aliases: f'rlf'undo

Removes the last item from the queue.

DJs/Bot Commanders only
lock_outline f'swap
Required parameter.
{pos1}
Required parameter.
{pos2}

Aliases: f'sp

Swaps the position of 2 items in the queue.

DJs/Bot Commanders only
lock_outline f'move
Required parameter.
{pos1}
Required parameter.
{pos2}

Aliases: f'mv

Moves the item at {pos1} to {pos2}.

DJs/Bot Commanders only
lock_outline f'bump
Required parameter.
{pos}

Aliases: f'b

Moves the item at {pos} to the first position.

DJs/Bot Commanders and Song Requesters
perm_identity f'fx

Aliases: f'|

See filters

DJs/Bot Commanders only
lock_outline f'freeze

Freezes the queue, putting it in read-only mode.

DJs/Bot Commanders only
lock_outline f'unfreeze

Unfreezes the queue.

Public Command
public f'sauce

Aliases: f'sourcef'src

Sends a link to the video being played.

DJs/Bot Commanders and Song Requesters
perm_identity f'cancel

Cancels a pending playlist import.

Public Command
public f'playlist save
Required parameter.
{id}

Aliases: f'pl s

Saves the current queue as a playlist, identified by {id}

DJs/Bot Commanders only
lock_outline f'playlist load
Required parameter.
{id}

Aliases: f'pl l

Loads a previously saved playlist into the queue.

Public Command
public f'playlist update
Required parameter.
{id}

Aliases: f'pl u

Updates a playlist with the current elements in queue.

Public Command
public f'playlist delete
Required parameter.
{id}

Aliases: f'pl d

Deletes a playlist.

Public Command
public f'playlist collab add
Required parameter.
{id}
Required parameter, user mention.
{@user}

Aliases: f'pl c af'pl collab a

Adds collaborators to a playlist. They'll be able to update it with new elements.

Public Command
public f'playlist collab remove
Required parameter.
{id}
Required parameter, user mention.
{@user}

Aliases: f'pl c rf'pl collab r

Removes collaborators from a playlist.

Public Command
public f'playlist owner
Required parameter.
{id}
Required parameter, user mention.
{@user}

Aliases: f'pl o

Transfers playlist ownership to another user. They'll be able to update and delete it.

Public Command
public f'seal

Sends seal pictures.

Public Command
public f'img
Required parameter.
{query}

Finds the first image marching the query.

Public Command
public f'imgur
Required parameter.
{query}

Searches in imgur and returns a random result.

Public Command
public f'gif
Required parameter.
{query}

Finds gifs using Giphy.

Public Command
public f'tumblr
Required parameter.
{query}

Finds a random image from tumblr matching the query.

Public Command
public f'danbooru
Required parameter.
{tags}

Aliases: f'd

Finds a random image matching {tags} in danbooru.
If NSFW is disable, safebooru will be used instead.

Public Command
public f'safebooru
Required parameter.
{tags}

Aliases: f'safe

Finds a random image matching {tags} in safebooru.

Public Command
public f'setWaifu
Required parameter.
{tag}

Aliases: f'sw

"Bookmarks" a safebooru character tag. After using this command, you can use f'waifu to get a random image from such character.

Public Command
public f'waifu
Optional parameter.
[tags?]

Aliases: f'w

Sends a random image from the character previously defined using f'setWaifu.
You can optionally add additional tags to the query.

Tags are disabled by default and must be manually enabled using f'enable tags.

Public Command
public f'+
Required parameter.
{tag}
Required parameter.
{response}

Adds a new tag.

Examples:

  • f'+ hello hi
  • f'+ seals are cute :3

Public Command
public f'-
Required parameter.
{tag}
Optional parameter.
[response?]

Removes a tag added by yourself. Specify a response to remove only that response.

Examples:

  • f'- hello
  • f'- hello hi

Public Command
public f'!
Required parameter.
{tag}

Sends the response of a tag.
If the tag has multiple responses, a random one is chosen.

Examples:

  • f'! hello
  • f'! seals

Public Command
public f'pray

Praise the seal!

Public Command
public f'poll
Required parameter.
{question}
|
Required parameter.
{option1}
|
Required parameter.
{option 2}
|
Optional parameter.
[option3?] . . .

Creates a "poll".

Examples:

  • f'poll Is blue a color? | Yes | No
  • f'poll Green tea or coffee? | Coffee | Green Tea | Both | Meh

Public Command
public f'roll
Optional parameter, default "100".
[max?]

Rolls a dice.

Examples:

  • f'roll 10
  • f'roll 3d10

Public Command
public f'8ball
Optional parameter.
[question?]

The classic.

Public Command
public f'choose
Required parameter.
{option1}
;
Required parameter.
{option2}
;
Optional parameter.
[option3?] . . .

Picks a random element from the List.

Examples:

  • f'choose Console Peasants ; PC Master Race
  • f'choose Red ; Green ; Blue

Public Command
public f'rate
Required parameter.
{thing}

Rate the specified thing.

Bot Commanders only
lock f'raffleStart

Starts a new raffle.

Public Command
public f'raffleJoin

Joins a raffle.

Bot Commanders only
lock f'rafflePick

Picks a winner.

Bot Commanders only
lock f'raffleClose

Ends a raffle.

Public Command
public f'raffleStats
Required parameter, user mention.
{@user}

Shows raffle statics for an user

Public Command
public f'help

Shows the help message

Public Command
public f'filters

Sends a link to the filters page.

Public Command
public f'ping

Pong!

Bot Commanders only
lock f'config
Required parameter.
{parameter}
Optional parameter.
[value?]

See configuration.

Bot Commanders only
lock f'setNick
Required parameter.
{newNick}

Changes the bot nickname.

Bot Commanders only
lock f'clean

Deletes recent bot messages.

Bot Commanders only
lock f'purge
Required parameter.
{n}

Deletes the last {n} messages.

Bot Commanders only
lock f'enable
Required parameter.
{module}

Enables a module. See configuration.

Bot Commanders only
lock f'disable
Required parameter.
{module}

Enables a module. See configuration.

Bot Commanders only
lock f'perm
Required parameter.
{command}
Optional parameter.
[level?]

Sets a custom permission level for a command. See configuration.

Public Command
public f'stats

Show statics for the bot.

Bot Owner only
extension f'blacklist
Required parameter, user mention.
{@user}

Globally blacklists an user from the bot. They'll not be able to use any command.
Be careful with this command, if you blacklist yourself, you'll need to add another owner to unblacklist you or delete the database.

Bot Owner only
extension f'unblacklist
Required parameter, user mention.
{@user}

Removes a user from the blacklist.

Bot Owner only
extension f'restart

Restart the bot (only if you're using a process manager such as PM2)

Bot Owner only
extension f'update

Updates the bot and youtube-dl to their latest versions, then restarts the bot.
Only works if you've installed it from npm or have cloned the git repository.

Bot Owner only
extension f'announce
Required parameter.
{text}

Makes a global announcement. The first line is the title and the following lines the body.

Bot Owner only
extension f'setAvatar

Changes the bot's avatar. You must include the new avatar picture as an attachment.

Bot Owner only
extension f'setUsername
Required parameter.
{newUsername}

Changes the bot account's username.

Bot Owner only
extension f'eval
Required parameter.
{code}

Evaluates CoffeeScript code in the context of the bot.
The p function is available to print text to the chat and the j function formats JSON.
The current Azarasi instance is available as Core. You can also use the await keyword.

Examples:

  • f'eval p('This text will be printed to chat.')
  • f'eval j(Core.modules.loaded, 1)
  • f'eval await msg.reply(msg.guild.name); msg.delete()

Bot Owner only
extension f'jseval
Required parameter.
{code}

Evaluates JavaScript code in the context of the bot.
The same functions and variables from eval are available. You can use the await keyword as well.

Bot Owner only
extension f'exec
Required parameter.
{cmd}

Executes a shell command and returns the output.

© 2018 thebit.link