Update USAGE.md
This commit is contained in:
parent
1e9a19d916
commit
1def144145
1 changed files with 14 additions and 3 deletions
17
USAGE.md
17
USAGE.md
|
@ -7,11 +7,14 @@ This documentation outlines the usage of commands supported by the bot. The bot
|
||||||
This is a dynamic list of replies.
|
This is a dynamic list of replies.
|
||||||
The available facts are available at [here](https://maubot.haxxors.com/factoids/). You can make [suggestions](https://cloud.haxxors.com/s/Yr7GEfDazHSC8gH) for additional facts.
|
The available facts are available at [here](https://maubot.haxxors.com/factoids/). You can make [suggestions](https://cloud.haxxors.com/s/Yr7GEfDazHSC8gH) for additional facts.
|
||||||
|
|
||||||
**Usage**: `!fact_name [| username])`
|
**Usage**👍 `!fact_name [| username])`
|
||||||
|
|
||||||
**Example 1**:`!noble`
|
**Example 1**:`!noble`
|
||||||
|
|
||||||
**Response**: Ubuntu 24.04 (Noble Numbat) will be the 40th release of...
|
**Response**: Ubuntu 24.04 (Noble Numbat) will be the 40th release of...
|
||||||
|
|
||||||
**Example 2**: `!noble | Bob`
|
**Example 2**: `!noble | Bob`
|
||||||
|
|
||||||
**Response**: `Bob: Ubuntu 24.04 (Noble Numbat) will be the 40th...`
|
**Response**: `Bob: Ubuntu 24.04 (Noble Numbat) will be the 40th...`
|
||||||
|
|
||||||
## Launchpad Bugs
|
## Launchpad Bugs
|
||||||
|
@ -19,8 +22,11 @@ The available facts are available at [here](https://maubot.haxxors.com/factoids/
|
||||||
The bot reacts to URLs from bugs.launchpad.net and to "bug [#]bugnumber" in messages.
|
The bot reacts to URLs from bugs.launchpad.net and to "bug [#]bugnumber" in messages.
|
||||||
|
|
||||||
**Example 1**: got this issue right now https://bugs.launchpad.net/snapd/+bug/2052688 on my computer
|
**Example 1**: got this issue right now https://bugs.launchpad.net/snapd/+bug/2052688 on my computer
|
||||||
|
|
||||||
**Example 2**: i am affected by bug 2052688 on my computer
|
**Example 2**: i am affected by bug 2052688 on my computer
|
||||||
|
|
||||||
**Example 3**: i am affected by bug #2052688 on my computer
|
**Example 3**: i am affected by bug #2052688 on my computer
|
||||||
|
|
||||||
**Response**: Launchpad Bug #2052688 in snapd "run-snapd-ns-snapd\x2ddesktop [...] " [Undecided, New]
|
**Response**: Launchpad Bug #2052688 in snapd "run-snapd-ns-snapd\x2ddesktop [...] " [Undecided, New]
|
||||||
|
|
||||||
## Time Commands
|
## Time Commands
|
||||||
|
@ -30,6 +36,7 @@ The bot reacts to URLs from bugs.launchpad.net and to "bug [#]bugnumber" in mess
|
||||||
Retrieves the current local time for a specified city.
|
Retrieves the current local time for a specified city.
|
||||||
|
|
||||||
**Usage**: `!time city_name`
|
**Usage**: `!time city_name`
|
||||||
|
|
||||||
**Example**:!time duesseldorf **Response**: The current time in Düsseldorf, Nordrhein-Westfalen, Deutschland is Friday, 22 March 2024, 19:59`
|
**Example**:!time duesseldorf **Response**: The current time in Düsseldorf, Nordrhein-Westfalen, Deutschland is Friday, 22 March 2024, 19:59`
|
||||||
|
|
||||||
### `!utc`
|
### `!utc`
|
||||||
|
@ -37,6 +44,7 @@ Retrieves the current local time for a specified city.
|
||||||
Retrieves the current time in UTC timezone, displayed as the local time in London.
|
Retrieves the current time in UTC timezone, displayed as the local time in London.
|
||||||
|
|
||||||
**Usage**: `!utc`
|
**Usage**: `!utc`
|
||||||
|
|
||||||
**Response**: `The current time in London, Greater London, England, United Kingdom is Friday, 22 March 2024, 19:00`
|
**Response**: `The current time in London, Greater London, England, United Kingdom is Friday, 22 March 2024, 19:00`
|
||||||
|
|
||||||
## Package Commands
|
## Package Commands
|
||||||
|
@ -47,7 +55,9 @@ Fetches package information for a specified package name and distribution.
|
||||||
The distribution argument is optional and defaults to "noble".
|
The distribution argument is optional and defaults to "noble".
|
||||||
|
|
||||||
**Usage**:`!package package_name distribution`
|
**Usage**:`!package package_name distribution`
|
||||||
|
|
||||||
**Example**:`!package nano jammy`
|
**Example**:`!package nano jammy`
|
||||||
|
|
||||||
**Response**: `nano (6.2-1, jammy): Depends on libc6 (>= 2.34), libncursesw6 (>= 6), libtinfo6 (>= 6)`
|
**Response**: `nano (6.2-1, jammy): Depends on libc6 (>= 2.34), libncursesw6 (>= 6), libtinfo6 (>= 6)`
|
||||||
|
|
||||||
### `!depends <package_name>`
|
### `!depends <package_name>`
|
||||||
|
@ -55,6 +65,7 @@ The distribution argument is optional and defaults to "noble".
|
||||||
Retrieves the dependencies of the specified package name, typically from the latest distribution.
|
Retrieves the dependencies of the specified package name, typically from the latest distribution.
|
||||||
|
|
||||||
**Usage**: `!depends package_name`
|
**Usage**: `!depends package_name`
|
||||||
**Example**: `!depends nano`
|
|
||||||
**Response**: `nano (7.2-2, noble): Depends on libc6 (>= 2.38), libncursesw6 (>= 6), libtinfo6 (>= 6)`nano (7.2-2, noble)`
|
|
||||||
|
|
||||||
|
**Example**: `!depends nano`
|
||||||
|
|
||||||
|
**Response**: `nano (7.2-2, noble): Depends on libc6 (>= 2.38), libncursesw6 (>= 6), libtinfo6 (>= 6)`nano (7.2-2, noble)`
|
||||||
|
|
Loading…
Reference in a new issue