Home
Docs
Logging
  • VuePress

    • Getting Started
    • Markdown
    • Container
  • JavaScript

    • Discord.js
  • Tools

    • Netdata
GitHub (opens new window)
  • Home

    • Home
    • Basic Informations
  • Commands

    • Command Overview
    • Information Commands
    • Media Commands
    • Misc Commands
    • Moderation Commands
      • Ban Command
      • Kick Command
      • Channeltopic Command
      • Emote Command
      • Purge Command
      • Mute Command
      • Unmute Command
    • Search Commands
    • Music Commands
    • Owner Commands
Theme Configurator
BaroBot Documentation
​
Home
Docs
Logging
  • VuePress

    • Getting Started
    • Markdown
    • Container
  • JavaScript

    • Discord.js
  • Tools

    • Netdata
GitHub (opens new window)

# Moderation Commands

# Ban Command

Ban a member from the server.

Args
DM
NSFW
Cooldown
5 seconds
Aliases
BotPerms
BAN_MEMBERS
MemberPerms
BAN_MEMBERS
-ban <@user | user_id | user_name> <reason> Reason is optional
-ban <@user | user_id | user_name> <reason> -d <n> n is number of days of messages to delete. Default is 0 and max is 7

DANGER

If you provide user_name as parameter and multiple users have the same name then bot will target the first match and you might end up banning wrong user!

TIP

Multiple mentions are not working.

CAUTION

If DM is enabled then bot will send the banned user the same notification via DM

# Kick Command

Kick a member from the server.

Args
DM
NSFW
Cooldown
5 seconds
Aliases
BotPerms
KICK_MEMBERS
MemberPerms
KICK_MEMBERS
-kick <@user | user_id | user_name> <reason> Reason is optional

DANGER

If you provide user_name as parameter and multiple users have the same name then bot will target the first match and you might end up kicking wrong user!

TIP

Multiple mentions are not working.

CAUTION

If DM is enabled then bot will send the kicked user the same notification via DM

# Channeltopic Command

Change the topic of a channel

Args
DM
NSFW
Cooldown
5 seconds
Aliases
BotPerms
MANAGE_CHANNELS
MemberPerms
MANAGE_CHANNELS
-channeltopic <topic> -r <reason> Reason is optional and will be visible in the audit logs

You can also use emotes and mention users, roles and channels in the topic.

If no topic is given then the channel topic will be cleared

Channel Topic Preview

# Emote Command

Add emotes to your server

Args
DM
NSFW
Cooldown
5 seconds
Aliases
BotPerms
MANAGE_EMOJIS
MemberPerms
MANAGE_EMOJIS
-emote <name> <url>

Image Size

Max Size: is 256kb

Your emote should have at least 128x128 pixels and will be resized to 32x32 pixels once uploaded.

# Purge Command

Bulk-delete messages from a channel

Args
DM
NSFW
Cooldown
20 seconds
Aliases
prunedeletewipe
BotPerms
MANAGE_MESSAGES
MemberPerms
MANAGE_MESSAGES
-purge <n> Bulk delete n messages

Discord restrictions

You can not delete more than 100 messages and messages posted 2 weeks ago or more. This is not a restriction by the bot!

# Advanced Usage

-t [n]      => purge messages that got pasted n minutes ago
-b          => purge only messages from bots (if user mentioned this will be ignored)
-p          => delete also pinned messages
-n          => the ammount of messages you wanna delete
@user       => delete messages only from mentioned user

Example

purge from last 40 messages (including pinned ones) where the author is a bot, and the message is not older than 30 min

Those are all equivalent to each other

-purge 100 -bpt 30

-purge -n 100 -bpt 30

-purge -n 100 -b -p -t 30

-purge --amount=100 --bots --pinned --time=30

Purge only messages from Stalista#7777 -purge 100 @Stalista#7777

# Mute Command

Prevents a member from sending any messages in your discord server

Args
DM
NSFW
Cooldown
5 seconds
Aliases
BotPerms
MANAGE_ROLESMANAGE_CHANNELS
MemberPerms
MANAGE_ROLES
-mute <@user | user_id | user_name> this is a permanent mute and requires manual unmute
-mute <@user | user_id | user_name> -t <n> n is the mute time in minutes

DANGER

If you provide user_name as parameter and multiple users have the same name then bot will target the first match and you might end up muting wrong user!

TIP

Multiple mentions are not working.

# Unmute Command

Unmute a muted user

Args
DM
NSFW
Cooldown
5 seconds
Aliases
BotPerms
MANAGE_ROLESMANAGE_CHANNELS
MemberPerms
MANAGE_ROLES
-unmute <@user | user_id | user_name>

DANGER

If you provide user_name as parameter and multiple users have the same name then bot will target the first match and you might end up unmuting wrong user!

TIP

Multiple mentions are not working.

Last Updated 11/8/2020, 9:23:10 PM