System command
,ginvite
Create an invite to any server the bot is in — bot developers only.
owner only Bot owner only
Cooldown
3s
per member, per server
Aliases
2
createinvite, ginv
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
,ginvite <serverId> [maxAgeHours]
Examples
,ginvite 123456789012345678 24Arguments
Square brackets are optional, angle brackets are required — the same legend ,help ginvite prints in Discord.
| Parameter | Kind | What it takes |
|---|---|---|
serverId | required | a value for this command |
maxAgeHours | optional | a value for this command |
Before you run it
What the command itself checks before it does anything, read from the src/commands/system/ginvite.js source.
- Permissions
- Create Invite
- Reads
- only your message arguments
- Replies with
- a plain message
- Cooldown
- 3s 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
,ginvite 123456789012345678 24
B
Create an invite to any server the bot is in — bot developers only.
Related
More system commands
Commands that usually get used alongside ,ginvite.
,blacklistSystemBlacklist a user from using the bot.aliases: bl,blacklistserverSystemBlacklist a server from using the bot.aliases: bs,broadcastSystemDM an audience (server owners, every user, a server or a role). Dashboard only.aliases: bcast,dmsaySystemSend a direct message as the bot — bot developers only.aliases: dmu, senddm,evalSystemEvaluate JavaScript as the bot owner.aliases: ev, jaduexe,globalbanSystemBan a user from every server the bot is in — bot owners only.aliases: gb, gban
Ready to put bleh in your server?
Add it in a couple of clicks, run ,setup, then fine-tune everything from the dashboard.