Misc command
,svg
Render svg code into an image.
Everyone can use it
Cooldown
8s
per member, per server
Aliases
1
svgs
Subcommands
0
none — one call does it
How to use it
Type it in any channel where the bot can read messages. The prefix is , on this server and can be changed with ,prefixes.
Syntax
,svg [text]
Examples
,svg <svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><circle cx="100" cy="100" r="80" fill="red"/></svg>Arguments
Square brackets are optional, angle brackets are required — the same legend ,help svg prints in Discord.
| Parameter | Kind | What it takes |
|---|---|---|
text | optional | your own text |
Before you run it
What the command itself checks before it does anything, read from the src/commands/misc/svg.js source.
- Permissions
- No Discord permission flag is read directly — access goes through the bot's own rules
- Reads
- free text after the command
- Replies with
- a plain message
- Cooldown
- 8s per member, per server
In Discord
What a member sees when they run it. The reply is sent as a Components V2 panel on the server's accent colour, paginated when it is long.
M
,svg <svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><circle cx="100" cy="100" r="80" fill="red"/></svg>
B
Render svg code into an image.
Related
More misc commands
Commands that usually get used alongside ,svg.
,afkMiscSet an AFK status so people know you are away.aliases: away,bannerMiscShow a user's profile banner.aliases: bn, userbanner,botinfoMiscShow stats about the bot itself: users, servers, latency, memory and shards.aliases: about, bi, bot,builderMiscBuild embeds interactively.aliases: bd, embedbuild,calcMiscEvaluate a maths expression.aliases: calculate, compute, math,ceMiscSend an embed using a script.aliases: code, codeblock
Ready to put bleh in your server?
Add it in a couple of clicks, run ,setup, then fine-tune everything from the dashboard.