Utility commands
Utility commands look up server, member, role and channel details, check the weather, do maths and colours, and help members find commands.
What it does
#The Utility module has five parts. You can switch each one on or off on its own.
- Info: details about members, avatars, banners, the server, channels, roles, custom emoji and Solara itself.
- Weather: current weather and a forecast for any city.
- Tools: a calculator that also solves equations and draws graphs, and colour lookups and palettes.
- Help: a menu of every command you can use, with search.
- Ping: how quickly Solara is responding.
Commands
#Every utility command works as a slash command and with your server's prefix (shown here as !). Optional parts are in square brackets.
Info
#| Command | What it does |
|---|---|
/userinfo [user] | A member's account age, join date, roles, badges and more. Leave the user out for yourself. Prefix also: ?whois or ?w. |
/avatar [user] | Someone's avatar in full size (their server avatar, if they've set one). |
/banner [user] | Someone's profile banner in full size, if they've set one. |
/serverinfo | This server's members, channels, roles, boosts, creation date and more. |
/channelinfo [channel] | A channel's or thread's type, topic, creation date and more. Leave it out for the channel you're in. |
/roleinfo <role> | A role's members, permissions, colour, position and creation date. Use a mention, an ID or the exact name. |
/emojiinfo <emoji> | A custom emoji's ID, creation date and whether it's animated. Standard Discord emoji don't work. |
/botinfo | Solara's server count, command count, the Pycord version it runs on, and links. |
/uptime | How long Solara has been running since it last restarted. |
Weather
#| Command | What it does |
|---|---|
/weather <location> | The current weather for a city, with a cheeky comment. The box suggests cities as you type. Use a form like London or Paris,FR. With the prefix, quotes around the city are fine: ?weather "New York". |
/forecast <location> [days] | A forecast for the next 3, 4 or 5 days (5 if you leave it out). Days follow the city's own calendar, so a city on the other side of the world gets its own dates. With the prefix, put the days at the end: ?forecast San Diego 3. |
Tools
#The prefix forms add the group name, so /math calc is ?math calc.
| Command | What it does |
|---|---|
/math calc <expression> | Works out an expression, like 2+2, sqrt(16) or sin(pi/2). |
/math solve <equation> | Solves an equation for x, like x^2 - 4 = 0. |
/math derive <expression> | The derivative of an expression. |
/math integrate <expression> | The indefinite integral of an expression. |
/math factor <expression> | Factors a polynomial, like x^2 - 4. |
/math simplify <expression> | Simplifies an expression. |
/math graph <expression> [x_min] [x_max] | Draws a graph. The x range is -10 to 10 unless you change it, and can go from -1,000,000 to 1,000,000. |
/color random | A random colour with its hex, RGB, HSL and other values. |
/color show <color> | Details and a swatch for a colour. Use hex like #FF5733 or RGB like 255 87 51. |
/color shades <color> [count] | Lighter and darker versions of a colour, 2 to 10 of them (5 if you leave it out). |
/color palette <palette_type> [color] | A matching palette: monochrome, analogic, complement, triad or quad (mono, analogous, complementary, triadic and tetradic work too). Leave the colour out for a random one. |
In Discord's command picker, each /color option has a short hint, such as the colour formats /color show accepts. A colour can also be written rgb(255, 87, 51) or 255,87,51.
Each member can run one /math command every 5 seconds. If it takes too long, Solara says "That took too long to work out."
Help and ping
#| Command | What it does |
|---|---|
/help | A menu of the commands you can use, with a category picker and links to invite Solara and join the support server. |
/help <command> | Details for one command: how to use it, its other names, cooldown and examples. |
/help search:<words> | Finds commands by name or description (slash-only commands such as /park don't show up in search). |
/ping | Solara's connection speed (WS latency) and how long a reply took (message round trip). Green means under 100 ms, yellow under 200 ms, red slower. |
With the slash command, the help menu is private: only you see it. Either way, only the person who opened the menu can use its picker; anyone else who presses it gets a private "This menu isn't yours. Run /help to open your own." If a category can't load, the menu says "That category didn't load. Try again in a moment."
On the dashboard
#There is no Utility page. To switch Utility off, open Modules & Permissions, find the Utility card, and use its Switches tab. You can switch off the whole module, one part (Info, Weather, Tools, Help or Ping), or a single command. You can also use /modules in Discord.
Who can use it
#- Every utility command: anyone, to start with.
- You can limit any of them with rules: for example, deny
/userinfoin a public channel, or allow Tools only for one role. Add rules on the Utility card's Permissions tab or with/permissions. See Permissions. - Some extra details depend on Discord permissions. When someone with Kick Members looks up a member with
/userinfo, Solara adds how many moderation cases that member has in this server (see Cases). With the slash command, this comes as a private message only they see. - Switching Utility on or off: people who manage Utility. That's the owner, Administrators, anyone with Manage Server, and anyone given "Manage Utility".
Common questions
#Why doesn't /help show every command? It leaves out most commands you can't use, including ones that are switched off or that a rule denies you. A few slash-only commands, like /park, may still be listed.
Does ?userinfo show moderation cases to everyone? With the prefix form, yes: the case count goes in the reply in the channel, and only when the person asking has Kick Members. Use the slash command if you want it kept private.
/channelinfo says it couldn't find a channel that exists. Solara gives the same answer for channels you can't see, so it never shows that a hidden channel exists.
Where did /spotify go? /spotify is gone for now. It needs a Discord permission (the Presence Intent) that hasn't been approved; it comes back if Discord approves it.
Solara said "Math is busy. Try again in a few seconds." Every server shares one maths worker, and too many requests are already waiting for it. Wait a few seconds and try again.
Can I turn off /serverinfo but keep the other info commands? Yes. Open the Info part on the Utility card's Switches tab, show its commands, and switch that one off.