Fix wrong slash_guild_ids

This commit is contained in:
2021-10-25 20:15:34 +02:00
parent 14ca8a9013
commit ebb8c57ebd

2
bot.py
View File

@@ -285,7 +285,7 @@ async def config_prefix_command(ctx: commands.Context, cmd: str = '', key: str =
# ------------------- The slashy way of life ------------------- # # ------------------- The slashy way of life ------------------- #
slash_guild_ids = [ 785415257308004422 ] slash_guild_ids = None
config_choices = [create_choice(name=entry[1][1], value=entry[0]) for entry in config_meta.items() if entry[1][0]] config_choices = [create_choice(name=entry[1][1], value=entry[0]) for entry in config_meta.items() if entry[1][0]]
config_option = create_option("config_key", "A key identifying the config entry to target", str, True, config_choices) config_option = create_option("config_key", "A key identifying the config entry to target", str, True, config_choices)