command group to fix argument error
All checks were successful
Build and Push Docker Image / build (push) Successful in 12s
All checks were successful
Build and Push Docker Image / build (push) Successful in 12s
This commit is contained in:
parent
1329ef8bd6
commit
6faa3cdd01
@ -32,8 +32,14 @@ class PlayersCog(commands.Cog):
|
|||||||
self.file_handler = LogFileReader(USER_LOG_FILE_PATH)
|
self.file_handler = LogFileReader(USER_LOG_FILE_PATH)
|
||||||
self.listen_for_changes.start()
|
self.listen_for_changes.start()
|
||||||
|
|
||||||
@app_commands.command(name="build-from-logs")
|
cmd_group = app_commands.Group(
|
||||||
@app_commands.default_permissions(Permissions.all())
|
name="players",
|
||||||
|
description="Commands for the players cog.",
|
||||||
|
default_permissions=Permissions.all(),
|
||||||
|
guild_only=True
|
||||||
|
)
|
||||||
|
|
||||||
|
@cmd_group.command(name="build-from-logs")
|
||||||
async def build_from_logs(self, inter: Interaction):
|
async def build_from_logs(self, inter: Interaction):
|
||||||
"""
|
"""
|
||||||
Build player data from existing and older log files.
|
Build player data from existing and older log files.
|
||||||
|
Reference in New Issue
Block a user