Removed legacy and improved documentation
This commit is contained in:
@@ -35,6 +35,9 @@ class Data(commands.Cog):
|
||||
"kind", description="Тип даних, які треба експортувати", choices=["Користувачі"]
|
||||
)
|
||||
async def data_export_cmd(self, ctx: ApplicationContext, kind: str) -> None:
|
||||
"""Command /data export <kind>
|
||||
|
||||
Command to export specific kind of data."""
|
||||
await ctx.defer()
|
||||
|
||||
# Return if the user is not an owner and not in the council
|
||||
@@ -107,6 +110,11 @@ class Data(commands.Cog):
|
||||
"kind", description="Тип даних, які треба експортувати", choices=["Користувачі"]
|
||||
)
|
||||
async def data_migrate_cmd(self, ctx: ApplicationContext, kind: str) -> None:
|
||||
"""Command /migrate <kind>
|
||||
|
||||
Command to migrate specific kind of data.
|
||||
|
||||
Migration of users in this case means creation of their DB entries."""
|
||||
await ctx.defer()
|
||||
|
||||
# Return if the user is not an owner and not in the council
|
||||
|
Reference in New Issue
Block a user