Skip to content

Builtin_Command_Reference

sharkbound edited this page Sep 3, 2022 · 7 revisions

Builtin Commands:

index

shutdown

NAME: shutdown

SYNTAX: (args...)

PERMISSION: admin

HELP: make the bot shutdown

[back to index]

shutdown

NAME: shutdown

SYNTAX: (args...)

PERMISSION: admin

HELP: make the bot shutdown

[back to index]

disablecmd

NAME: disablecmd

SYNTAX:

PERMISSION: manage_commands

HELP: disables a command for the current channel

[back to index]

enablecmd

NAME: enablecmd

SYNTAX:

PERMISSION: manage_commands

HELP: enables a command for the current channel

[back to index]

reloaddisabled

NAME: reloaddisabled

SYNTAX: (args...)

PERMISSION: manage_commands

HELP: reloads disable commands config

[back to index]

disablecmdglobal

NAME: disablecmdglobal

SYNTAX: (args...)

PERMISSION: manage_commands

HELP: disables a command for all channels the bot is in

[back to index]

enablecmdglobal

NAME: enablecmdglobal

SYNTAX:

PERMISSION: manage_commands

HELP: enables a command for all channels the bot is in

[back to index]

reloadcmdwhitelist

NAME: reloadcmdwhitelist

SYNTAX: (_...)

PERMISSION: manage_commands

HELP: reloads whitelisted commands from the config file

[back to index]

setcurrencyname

NAME: setcurrencyname

SYNTAX: <new_name>

PERMISSION: manage_currency

HELP: sets the channels currency name

[back to index]

getcurrencyname

NAME: getcurrencyname

SYNTAX: (ignored...)

PERMISSION: NO PERMISSION

HELP: get the channels current currency name

[back to index]

bal

NAME: bal

SYNTAX: (target)

PERMISSION: NO PERMISSION

HELP: gets the caller's (or target's if specified) balance

[back to index]

setbal

NAME: setbal

SYNTAX: <new_balance> (target)

PERMISSION: manage_currency

HELP: sets the callers or targets balance

[back to index]

addbal

NAME: addbal

SYNTAX:

PERMISSION: manage_currency

HELP: adds the balance of the target, or all

[back to index]

subbal

NAME: subbal

SYNTAX:

PERMISSION: manage_currency

HELP: subtracts the balance of the target, or all

[back to index]

give

NAME: give

SYNTAX:

PERMISSION: NO PERMISSION

HELP: gives the target the specified amount from the callers currency balance

[back to index]

gamble

NAME: gamble

SYNTAX: <dice_sides>

PERMISSION: gamble

HELP: throws a X sided die, if the dice sides are more than 6 you get more payout on a success X roll, but it is also a lower chance to roll X.

[back to index]

mine

NAME: mine

SYNTAX: (args...)

PERMISSION: mine

HELP: mines for currency, gives you a predefined amount (default 50)

[back to index]

topreloadignored

NAME: topreloadignored

SYNTAX: (args...)

PERMISSION: topreloadignored

HELP: reloads the config file for top's ignored usernames

[back to index]

top

NAME: top

SYNTAX: (args...)

PERMISSION: NO PERMISSION

HELP: lists the top 10 balance holders

[back to index]

arena

NAME: arena

SYNTAX: <entry_fee>

PERMISSION: NO PERMISSION

HELP: starts a arena match, waits a certain amount of time for ppl to enter, if not enough ppl enter the arena is cancelled and everyone is refunded, the winner gets all of the entry_fee's paid

[back to index]

duel

NAME: duel

SYNTAX: <target_user> (amount, default: 10)

PERMISSION: NO PERMISSION

HELP: challenges a user to a duel with the bid as the reward

[back to index]

accept

NAME: accept

SYNTAX:

PERMISSION: NO PERMISSION

HELP: accepts a duel issued by the challenger that is passed to this command

[back to index]

addcmd

NAME: addcmd

SYNTAX:

PERMISSION: manage_commands

HELP: adds a custom command to the database for the this channel, placeholders: %user : the name of the person that triggered the command, %uptime : the channels live uptime, %channel : the channels name, %counter adds and uses a counter starting with the value 0

[back to index]

updatecmd

NAME: updatecmd

SYNTAX:

PERMISSION: manage_commands

HELP: updates a custom command's response message

[back to index]

delcmd

NAME: delcmd

SYNTAX:

PERMISSION: manage_commands

HELP: deletes a custom commands

[back to index]

cmd

NAME: cmd

SYNTAX:

PERMISSION: NO PERMISSION

HELP: gets a custom commmands response

[back to index]

addcounter

NAME: addcounter

SYNTAX:

PERMISSION: manage_counter

HELP: adds a counter to the database

[back to index]

delcounter

NAME: delcounter

SYNTAX:

PERMISSION: manage_counter

HELP: deletes the counter from the database

[back to index]

setcounter

NAME: setcounter

SYNTAX: <alias_or_id> <new_value>

PERMISSION: manage_counter

HELP: sets a counters value in the database

[back to index]

listcounters

NAME: listcounters

SYNTAX: (args...)

PERMISSION: manage_counter

HELP: list all counters of the channel

[back to index]

ping

NAME: ping

SYNTAX: (args...)

PERMISSION: NO PERMISSION

HELP: NO HELP

[back to index]

roll

NAME: roll

SYNTAX: (sides)

PERMISSION: NO PERMISSION

HELP: rolls a X sided die

[back to index]

crashcode

NAME: crashcode

SYNTAX: (args...)

PERMISSION: crashcode

HELP: NO HELP

[back to index]

choose

NAME: choose

SYNTAX: ect

PERMISSION: NO PERMISSION

HELP: chooses a random option passed to the command

[back to index]

color

NAME: color

SYNTAX:

PERMISSION: color

HELP: sets the bots chat color

[back to index]

8ball

NAME: 8ball

SYNTAX:

PERMISSION: NO PERMISSION

HELP: prints a random answer to the question

[back to index]

commands

NAME: commands

SYNTAX: (args...)

PERMISSION: NO PERMISSION

HELP: lists all commands, add -a or -alias to list aliases

[back to index]

help

NAME: help

SYNTAX:

PERMISSION: NO PERMISSION

HELP: gets the help text for a command

[back to index]

findperm

NAME: findperm

SYNTAX:

PERMISSION: NO PERMISSION

HELP: finds a permission for a given command

[back to index]

enablemod

NAME: enablemod

SYNTAX: <mod_name>

PERMISSION: manage_mods

HELP: enables a mod for the current channel

[back to index]

disablemod

NAME: disablemod

SYNTAX: <mod_name>

PERMISSION: manage_mods

HELP: disables a mod for the current channel

[back to index]

disabledmods

NAME: disabledmods

SYNTAX: (args...)

PERMISSION: NO PERMISSION

HELP: lists disabled mods for the current channel

[back to index]

reloadmod

NAME: reloadmod

SYNTAX: <modname(case sensitive) or all>

PERMISSION: manage_mods

HELP: reloads a specific module (case sensitive) from disk

[back to index]

listmods

NAME: listmods

SYNTAX: (args...)

PERMISSION: listmods

HELP: list all mods currently loaded

[back to index]

addperm

NAME: addperm

SYNTAX:

PERMISSION: manage_permissions

HELP: adds a permission a group

[back to index]

delperm

NAME: delperm

SYNTAX:

PERMISSION: manage_permissions

HELP: removes a permission from a group

[back to index]

addgroup

NAME: addgroup

SYNTAX:

PERMISSION: manage_permissions

HELP: adds a permission group

[back to index]

delgroup

NAME: delgroup

SYNTAX:

PERMISSION: manage_permissions

HELP: removes a permission group

[back to index]

reloadperms

NAME: reloadperms

SYNTAX: (args...)

PERMISSION: manage_permissions

HELP: reloads permissions

[back to index]

addmember

NAME: addmember

SYNTAX:

PERMISSION: manage_permissions

HELP: adds a member to a permission group

[back to index]

delmember

NAME: delmember

SYNTAX:

PERMISSION: manage_permissions

HELP: removes a member from a permission group

[back to index]

startpoll

NAME: startpoll

SYNTAX: <title> [option1, option2, ect] (seconds_for_poll)

PERMISSION: startpoll

HELP: starts the poll for the the current channel

[back to index]

vote

NAME: vote

SYNTAX: <choice_id> (poll_id)

PERMISSION: vote

HELP: register a vote for the given choice if inside of the poll specified by <poll_id>

[back to index]

listpolls

NAME: listpolls

SYNTAX: (args...)

PERMISSION: listpolls

HELP: list all active polls

[back to index]

pollinfo

NAME: pollinfo

SYNTAX: (POLL_ID)

PERMISSION: pollinfo

HELP: views info about the poll using the passed poll id

[back to index]

addquote

NAME: addquote

SYNTAX: "" user=(user) alias=(alias)

PERMISSION: add_quote

HELP: adds a quote to the database

[back to index]

quote

NAME: quote

SYNTAX:

PERMISSION: NO PERMISSION

HELP: gets a quote by ID or ALIAS

[back to index]

delquote

NAME: delquote

SYNTAX:

PERMISSION: delete_quote

HELP: deletes the quote from the database

[back to index]

addtimer

NAME: addtimer

SYNTAX:

PERMISSION: manage_timers

HELP: adds a message timer

[back to index]

starttimer

NAME: starttimer

SYNTAX:

PERMISSION: manage_timers

HELP: starts a message timer

[back to index]

stoptimer

NAME: stoptimer

SYNTAX:

PERMISSION: manage_timers

HELP: stops a message timer

[back to index]

deltimer

NAME: deltimer

SYNTAX:

PERMISSION: manage_timers

HELP: deletes a message timer

[back to index]

listtimers

NAME: listtimers

SYNTAX: (args...)

PERMISSION: manage_timers

HELP: list all message timers for the current channel

[back to index]

edittimer

NAME: edittimer

SYNTAX:

PERMISSION: manage_timers

HELP: edits a timer's message or interval

[back to index]