mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
Clarifies what [p]backup does (#3172)
* Clarify `[p]backup` * Create 3172.enhance.rst
This commit is contained in:
parent
02d6b7d658
commit
b4186d6724
1
changelog.d/3172.enhance.rst
Normal file
1
changelog.d/3172.enhance.rst
Normal file
@ -0,0 +1 @@
|
|||||||
|
Clarified that ``[p]backup`` saves the **bot's** data in the help text.
|
||||||
@ -1323,8 +1323,9 @@ class Core(commands.Cog, CoreLogic):
|
|||||||
@commands.command()
|
@commands.command()
|
||||||
@checks.is_owner()
|
@checks.is_owner()
|
||||||
async def backup(self, ctx: commands.Context, *, backup_dir: str = None):
|
async def backup(self, ctx: commands.Context, *, backup_dir: str = None):
|
||||||
"""Creates a backup of all data for the instance.
|
"""Creates a backup of all data for this bot instance.
|
||||||
|
|
||||||
|
This backs up the bot's data and settings.
|
||||||
You may provide a path to a directory for the backup archive to
|
You may provide a path to a directory for the backup archive to
|
||||||
be placed in. If the directory does not exist, the bot will
|
be placed in. If the directory does not exist, the bot will
|
||||||
attempt to create it.
|
attempt to create it.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user