misc(forums): formatting changes
This commit is contained in:
parent
3e9b0c3834
commit
4fb42065b4
1 changed files with 4 additions and 6 deletions
|
@ -95,7 +95,6 @@ class Forums(commands.Cog):
|
|||
else:
|
||||
await ctx.send("Please provide a valid role that exists in the request roles list.")
|
||||
|
||||
# Function to create select options
|
||||
def create_select_options(self, ctx: commands.Context, data):
|
||||
options = []
|
||||
for tag in data:
|
||||
|
@ -105,7 +104,6 @@ class Forums(commands.Cog):
|
|||
|
||||
@forumsconfig.command(name="tagset")
|
||||
async def forumsconfig_tag_set(self, ctx: commands.Context, channel: discord.ForumChannel):
|
||||
# Create select options from the proxy data
|
||||
options = self.create_select_options(ctx, channel.available_tags)
|
||||
config = Config.get_conf(None, cog_name='Forums', identifier=2352711325)
|
||||
tag = channel.get_tag(await config.guild(ctx.guild).forum_tag())
|
||||
|
|
Loading…
Reference in a new issue