Utility Commands
Utility commands are a collection of various commands that can be used for a variety of purposes. You can use them to translate text, get information about your system, calculate math expressions and more.
Send Interval
The sendinterval
command can be used to repeatedly send a message to a channel. Here is an example of how to use it:
[p]sendinterval 3600 20 "!bump"
This will send the message !bump
to the current channel every 3600 seconds (1 hour) for 20 times.
If you want the message to be deleted after sending, you can also add the DELETE
or INSTANT_DEL
flag to the command. Here is an example:
[p]sendinterval 3600 20 "!bump" DELETE
Uploading Commands
You can use the uploadsc
, uploadfile
and uploadlink
files to upload files. There are a couple of destinations you can upload to:
- Anonfiles - Uploads files to https://anonfiles.com.
- ImgBB - Uploads images to https://imgbb.com.
- Imgur - Uploads images to https://imgur.com.
- s-ul.eu - Uploads files to https://s-ul.eu.
- vgy.me - Uploads images to https://vgy.me.
- SXCU - Uploads files according to a ShareX custom uploader configuration.
To use this destination, you need to provide your configuration by placing it at
LightningBot/uploader.sxcu
.
For an up-to-date list of supported destinations, you can use the listdestinations
command.
Conversion Commands
Conversion commands can be used to convert between different units of measurement. The supported units are listed below.
Supported Units
Quantity | Units |
---|---|
Velocity | m/s , km/h , mph |
Area | square-meter , square-kilometer , square-mile , square-inch , square-foot , square-yard , acre |
Length | m , km , in , ft , mi |
Temperature | C , F , K |
Time | s , m , h , d , w , mo , y |
Volume | cubic-meter , cubic-kilometer , cubic-centimeter , cubic-millimeter , liter , milliliter , gallon , quart , pint , cup , fluid ounce |
Mass | kg , g , mg , lb , oz |
Command List
Command | Description | Usage |
---|---|---|
copyserver | Make an exact copy of a server | [p]copyserver [server id] [delay] |
copychannel | Make an exact copy of a channel | [p]copychannel <source channel> <dest channel> [limit] |
leaveservers | Leave all of your servers | [p]leaveservers |
leavegroups | Leave all of your groups | [p]leavegroups [silent: on/off] |
unfriendall | Remove all of your friends | [p]unfriendall |
adminservers | See all servers you have administator in | [p]adminservers |
admingroups | See all groupds you have owner in | [p]admingroups |
joinvc | Join a voice channel | [p]joinvc <channel id> |
findserver | Find a server by ID | [p]findserver <server id> |
finduser | Find a user by ID | [p]finduser <server id> |
snipe | See the last deleted message in a channel | [p]snipe [channel] |
editsnipe | See the last edited message in a channel | [p]editsnipe [channel] |
firstmessage | See the first message in the channel | [p]firstmessage [channel] |
hypesquad | Change your Hypesquad House | [p]hypesquad <bravery/brilliance/balance> |
leavehypesquad | Leave Hypesquad | [p]leavehypesquad |
theme | Change your Discord theme | [p]theme <light/dark> |
compact | Toggle Discord compact mode | [p]compact <on/off> |
devmode | Toggle Discord developer mode | [p]devmode <on/off> |
sessionid | See LightningBot's Discord session ID | [p]sessionid |
aboutme | Change your About Me text | [p]aboutme [text] |
displayname | Change your display name | [p]displayname <text> |
pronouns | Change your pronouns | [p]pronouns <text> |
nickscan | Search for servers with a nickname | [p]nickscan |
getmessagejson | Get a message's JSON data | [p]getmessagejson <#channel> <message id> |
getembedjson | Get an embed's JSON data | [p]getembedjson <#channel> <message id> |
sendmessagejson | Send a message using raw JSON data | [p]getmessagejson <#channel> <json> |
sendinterval | Send a message every x seconds (flags: DELETE, INSTANT_DEL) | [p]sendinterval <interval> <amount> <"message"> [flags] |
optionpoll | Create a poll with options | [p]optionpoll <"question"> <"option1"> <"option2"> |
discordpoll | Create a native Discord poll (options/emojis split by comma) | [p]discordpoll <duration> <"question"> <"options"> ["emojis"] |
checktoken | Check if a Discord token is valid | [p]checktoken <token> |
discordstatus | Check the Discord status | [p]discordstatus |
website | Open the LightningBot website | [p]website |
dashboard | Open the LightningBot dashboard | [p]dashboard |
changelog | See the latest changelog | [p]changelog |
version | See the current LightningBot version | [p]version |
uptime | See how long the bot has been running for | [p]uptime |
history | See used command history | [p]history |
restartbot | Restart LightningBot | [p]restartbot |
stopbot | Stop LightningBot | [p]stopbot |
cls | Clear UI console | [p]cls |
openfolder | Open the LightningBot folder | [p]openfolder |
remote | Run a command remotely | [p]remote <channel> <command> [args...] |
systeminfo | See info about your system | [p]systeminfo |
shutdownpc | Shut your PC down | [p]shutdownpc |
restartpc | Restart your PC | [p]restartpc |
sleeppc | Put your PC to sleep | [p]sleeppc |
hibernatepc | Hibernate your PC | [p]hibernatepc |
lockpc | Lock your PC | [p]lockpc |
activewindow | View the active window on your PC | [p]activewindow |
calc | Open the calculator | [p]calc |
notepad | Open notepad | [p]notepad |
open | Open a URL in the browser | [p]open <url> |
screenshot | Take a screenshot | [p]screenshot [delay] |
listdestinations | List all upload destinations | [p]listdestinations |
uploadss | Upload a screenshot | [p]uploadss <destination> [delay] |
uploadfile | Upload a file | [p]uploadfile <destination> [attachment] |
uploadlink | Upload a link | [p]uploadlink <destination> <link> |
paste | Create a paste | [p]pastebin <text> |
pastefile | Create a paste from a file | [p]pastefile <filepath> |
tinyurl | Shorten a URL with TinyURL | [p]tinyurl <url> |
obfuscatepython | Obfuscate a Python script | [p]obfuscatepython [script/attachment] |
obfuscatelua | Obfuscate a Lua script | [p]obfuscatelua [script/attachment] |
obfuscatejs | Obfuscate a JS script | [p]obfuscatejs [script/attachment] |
reviewdbtoken | Get your ReviewDB token | [p]reviewdbtoken |
getreviews | Get a users ReviewDB reviews | [p]getreviews <user> |
addreview | Add a ReviewDB review to a user | [p]addreview <user> <review> |
tag | Send a tag's content | [p]tag <tag> |
taglist | List all tags | [p]taglist |
createtag | Add a tag | [p]createtag <tag> <content> |
deletetag | Delete a tag | [p]deletetag <tag> |
renametag | Rename a tag | [p]renametag <before> <after> |
mastercard | Generate a mastercard credit card | [p]mastercard [name] |
visa16 | Generate a visa credit card (16 characters) | [p]visa16 [name] |
visa13 | Generate a visa credit card (13 characters) | [p]visa13 [name] |
amex | Generate an amex credit card | [p]amex [name] |
discover | Generate a discover credit card | [p]discover [name] |
diners | Generate a diners credit card | [p]diners [name] |
jcb | Generate a JCB credit card | [p]jcb [name] |
ping | Check the latency of the bot | [p]ping |
pingweb | Check the latency to a website | [p]pingweb <host> |
ipinfo | Get info about an IP Address | [p]ipinfo <ip> |
portscan | Scan a host for open ports | [p]portscan <host> |
resolve | Get a domain's IP address | [p]resolve <domain> |
reversedns | Find all domains hosted on an IP address | [p]reversedns <ip> |
reversemac | Find the vender of a MAC address | [p]reversemac <mac> |
headers | Get URL response headers | [p]headers <url> |
interface | See your public/local ip and MAC address | [p]interface |
snipepokemon | Snipe a Pok├®Two Pokemon | [p]snipepokemon [#channel] |
detectpokemon | Detect a Pok├®Two Pokemon | [p]detectpokemon [#channel] |
setreminder | Set a reminder | [p]setreminder <duration> <message> |
listreminders | List all reminders | [p]listreminders |
deletereminder | Delete a reminder | [p]deletereminder <id> |
tts | Send a Text-To-Speech message | [p]tts <language> <text> |
translate | Translate text to a language | [p]translate <language> <text> |
detectlang | Detect a texts language | [p]detectlang <text> |
english | Translate text to English | [p]english <text> |
define | Define a word | [p]define <word> |
urbandictionary | Search someting on the Urban Dictionary | [p]urbandictionary <word> |
wikipedia | Search someting on Wikipedia | [p]wikipedia <query> |
weather | Check the weather in a city | [p]weather <city> |
lvbypass | Bypass a Linkvertise link | [p]lvbypass <url> |
flightinfo | Get info about a flight | [p]flightinfo <flight number> |
passgen | Generate a password | [p]passgen <character amount> |
tokengen | Generate a Discord token | [p]tokengen |
revimage | Reverse image search | [p]revimage <image url> |
revavatar | Reverse image search a users avatar | [p]revavatar <user> |
timezones | Get a list of timezones for a continent | [p]timezones <continent> |
timezone | Get information about a timezone | [p]timezoneinfo <timezone> |
calculate | Calculate something | [p]calculate <expression> |
googlesearch | Search someting on Google | [p]googlesearch <query> |
youtubesearch | Search someting on Youtube | [p]youtubesearch <query> |
youtubedl | Download a YouTube video to the desktop | [p]youtubedl <query> |
amazon | Search products on Amazon | [p]amazon <query> |
steam | Search games on Steam | [p]steam <query> |
github | Search repos on GitHub | [p]github <query> |
stackoverflow | Search answers on Stack Overflow | [p]stackoverflow <query> |
searchcountry | Get info about a country | [p]searchcountry <country> |
randomcountry | Get info about a random country | [p]randomcountry <country> |
loremipsum | Generate a random placeholder text | [p]loremipsum [paragraphs] |
baconipsum | Generate a meaty placeholder text | [p]baconipsum [paragraphs] |
previewcolor | Preview a color | [p]previewcolor <rgb/hex> |
generatekey | Generate a random license key (X or x for letters, 9 for numbers) | [p]generatekey <format> [amount] |
timestamp | Create a Discord timestamp | [p]timestamp <time> |
reltimestamp | Create a relative Discord timestamp | [p]reltimestamp <time> |