[Docs] General Cog Guide #4797

Merged
Kreusada merged 4 commits from general into V3/develop 2021-02-22 19:56:44 +01:00
Kreusada commented 2021-02-09 19:41:06 +01:00 (Migrated from github.com)

Type

  • Bugfix
  • Enhancement
  • New feature
  • Documentation

Description of the changes

A guide for the core General cog in Red.

(#1734 for tracker)

### Type - [ ] Bugfix - [ ] Enhancement - [ ] New feature - [x] Documentation ### Description of the changes A guide for the core General cog in Red. (#1734 for tracker)
Flame442 (Migrated from github.com) requested changes 2021-02-20 21:14:46 +01:00
Flame442 (Migrated from github.com) left a comment

A few formatting changes

A few formatting changes
@ -0,0 +1,214 @@
.. _general:
Flame442 (Migrated from github.com) commented 2021-02-20 21:11:03 +01:00
rps (Rock Paper Scissors)
^^^^^^^^^^^^^^^^^^^^^^^^^

**Syntax**

.. code-block:: none

    [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``.
```suggestion rps (Rock Paper Scissors) ^^^^^^^^^^^^^^^^^^^^^^^^^ **Syntax** .. code-block:: none [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``. ```
Flame442 (Migrated from github.com) commented 2021-02-20 21:12:38 +01:00
* ``[choices...]``: The arguments for Red to randomly choose from.
```suggestion * ``[choices...]``: The arguments for Red to randomly choose from. ```
Flame442 (Migrated from github.com) commented 2021-02-20 21:12:50 +01:00
* ``[user]``: The user to flip. Defaults to None.
```suggestion * ``[user]``: The user to flip. Defaults to None. ```
Flame442 (Migrated from github.com) commented 2021-02-20 21:13:39 +01:00

Maybe instead of "defaults to None" (which means nothing to an end user), say "defaults to flipping a coin" / "flips a coin if no user is passed" or something like that?

Maybe instead of "defaults to None" (which means nothing to an end user), say "defaults to flipping a coin" / "flips a coin if no user is passed" or something like that?
Flame442 (Migrated from github.com) commented 2021-02-20 21:14:04 +01:00
* ``[number]``: The maximum number that can be rolled. Defaults to 100.
```suggestion * ``[number]``: The maximum number that can be rolled. Defaults to 100. ```
Flame442 (Migrated from github.com) commented 2021-02-20 21:14:21 +01:00
* ``[details]``: Show extra details about the server when set to True. Defaults to False.
```suggestion * ``[details]``: Show extra details about the server when set to True. Defaults to False. ```
Kreusada commented 2021-02-20 21:29:09 +01:00 (Migrated from github.com)

Thanks Flame, the requested changes have been added to this PR.

Thanks Flame, the requested changes have been added to this PR.
Flame442 (Migrated from github.com) approved these changes 2021-02-22 19:55:32 +01:00
Flame442 commented 2021-02-22 19:56:40 +01:00 (Migrated from github.com)

Thanks for contributing!

stupid bot

Thanks for contributing! ~~stupid bot~~
Sign in to join this conversation.
No reviewers
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Mrcoolgamer11/Red-DiscordBot!4797
No description provided.