Skip to content

Commands

John G edited this page Jul 9, 2022 · 8 revisions

Public Commands

No permissions Required

bored

Arguments: none
Gets an activity from Bored API and displays it in an embed.

botstats

Arguments: none
Gets the current bot statistics (Latency, guild count) and certain links (Vote, invite) and displays them in an embed.

bugreport

Arguments: <Message>
Sends a message to a channel in our support server where we can deal with it. Used to send a bug, exploit, feature request, feedback, etc.

embed

Arguments: <Content JSON>
Sends a custom embed to a channel using JSON from a message generator such as nadeko.bot

expand

Arguments: <Long URL>
Attempts to take a shortened URL (such as from bit.ly) and return it to the original URL.

fact

Arguments: none
Gets a random fact from a fact API and displays it in an embed.

formatting

Arguments: none
Displays a helpful embed containing methods to format your discord messages with markdown.

help

Arguments: [command name]
If a command name is supplied, it will show command information (description, usage, cooldown) and a link to the support server, otherwise it will display a list of public commands commands and a link to the support server.

insult

Arguments: none
Gets an insult from a insult API and sends it in the text channel it was called in.

joke

Arguments: none
Gets a joke from a joke API and displays it in an embed along with a link to the joke API.

mcping

Arguments: <type> <ip> [port]
Attempts to ping a Minecraft server with the given information and displays a response in an embed.

meme

Arguments: none
Gets a random meme from r/dankmemes and displays it in an embed, along with a link to the post author, rank, comment count, and timestamp.

profile

Arguments: [Target user]
Gets a user's publicly accessible information and guild information (if applicable).

randomreddit

Arguments: [subreddit]
Gets a random post from the specified subreddit or a random subreddit if none is specified.

serverinfo

Arguments: none
Gets information about the current guild.

shorten

Arguments: <Long URL>
Shortens a URL. URLs are stored indefinitely. Contact Harold support by joining the support discord and opening a ticket, or emailing support@theharoldbot.com with your short URL to get your URL removed from Harold. URLs (long or short) are not shared with anyone.

sudo

Arguments: <user>
Imitates a user by creating a webhook with their name and profile icon and sending a message using it, then deleting the webhook.

trivia

Arguments: none
Gets a trivia question from a trivia API and displays it in an embed.

xkcd

Arguments: [comic number OR latest]
Gets a random xkcd comic, or specific one if specified.

yomama

Arguments: none
Gets a random yo mama joke from a yo mama API and sends it in the text channel it was called in.

Permissions Required

decorate

Arguments: none
Replies with an ephemeral select menu that allows you to choose a theme. Choosing a theme will cause Harold to add an emoji to the beginning and end of all the channel names it has access to. Use the clear option in the select menu to remove the emojis.

slowmode

Arguments: <time in seconds>
Sets the channel slowmode to the specified time.

Owner Commands

block

Arguments: <add|remove> <user>
Adds/removes a blocked user. Blocked users are ignored by Harold. If an owner is blocked, they will be notified next time they attempt to use Harold.

eval

Arguments: <script>
Executes a script using the eval function.

message

Arguments: <user id> <message>
Attempts to send a message to the user associated with the provided id.

reload

Arguments: <command>
Refreshes a command to update a command without restarting the bot. Mainly used with Harold Beta for debugging.

set

presence

Arguments: <online|idle|dnd|invisible>
Sets Harold's presence.

activity

Arguments: <playing|streaming|listening|watching|competing> <name> [URL]
Sets Harold's activity.

avatar

Arguments: <image URL>
Set's Harolds profile image to the provided URL.

test

Arguments: Variable
Mainly used in Harold Beta, used for testing snippets of code. Not always enabled. Arguments vary based on what is being tested.