This page is generated from
docs/cog_guides/general.rst- please edit the source file instead of this page.
General
This is the cog guide for the general cog. You will find detailed docs about usage and commands.
[p] is considered as your prefix.
NOTE
To use this cog, load it by typing this:
[p]load general
Usage
This cog includes a miscellaneous group of games, useful
tools, and informative commands such as serverinfo or urban.
Commands
Here's a list of all commands available for this cog.
8 (8ball)
Syntax
[p]8 <question>
Description
Ask 8 ball a question.
NOTE
Your question must end with a question mark.
Arguments
<question>: The question you would like to ask 8 ball.
choose
Syntax
[p]choose <first> <second> [others...]
Description
Choose between multiple options. Options are separated by spaces.
NOTE
There must be at least 2 options to pick from.
NOTE
To denote options which include whitespace, you should enclose the option in double quotes.
Arguments
<first>: The first mandatory option.<second>: The second mandatory option.[others...]: Any remaining optional options.
flip
Syntax
[p]flip [user]
Description
Flip a coin... or a user.
Arguments
[user]: The user to flip. Defaults to flipping a coin if no user is provided.
lmgtfy
Syntax
[p]lmgtfy <search_terms>
Description
Create a lmgtfy link.
Arguments
<search_terms>: The terms used to generate the lmgtfy link.
roll
Syntax
[p]roll [number=100]
Description
Roll a random number. The result will be between 1 and <number>.
Arguments
[number]: The maximum number that can be rolled. Defaults to 100.
rps (Rock Paper Scissors)
Syntax
[p]rps <your_choice>
Description
Play Rock Paper Scissors.
Arguments
<your_choice>: The choice that you choose.
NOTE
Choices must be between rock, paper, or scissors.
serverinfo
Syntax
[p]serverinfo [details=False]
Description
Show server information.
Arguments
[details]: Show extra details about the server when set to True. Defaults to False.
stopwatch
Syntax
[p]stopwatch
Description
Start or stop the stopwatch.
urban
Syntax
[p]urban <word>
Description
Search the Urban Dictionary.
Arguments
<word>: The term to search for.
Installation Guides
- Installing Red
- Creating a bot account
- Updating Red
- Backing Up and Restoring Red
- About Virtual Environments
- Setting up auto-restart using batch on Windows
- Setting up auto-restart on Mac
- Setting up auto-restart using systemd on Linux
Cog Reference
User guides
- Getting started
- Running Red on Fluxer
- About Privileged Intents
- About public (big) bots
- Admin
- Alias
- Audio
- Cleanup
- Cog Manager UI
- Core
- CustomCommands
- Dev
- Downloader
- Economy
- Filter
- General
- Image
- Permissions
- Mod
- ModLog
- Mutes
- Reports
- Streams
- Trivia
- Warnings
- Red and End User Data
Cog Creation Guides
- Creating cogs for Red
- Slash Commands and Interactions
- Publishing cogs for Red
- Becoming an Approved Cog Creator
- Versioning
- End-user Guarantees
- Developer Guarantees
- Breaking Change Notices
Cog Development Framework Reference
- Shared API Keys
- Bank
- Bot
- Command Check Decorators
- App Command Check Decorators
- Commands Package
- App Commands Package
- Config
- Data Manager
- Custom Events
- Internationalization Framework
- Mod log
- RPC
- Tree
- Utility Functions
Others
Legacy (Red V2)