Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions bot/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,17 +139,17 @@ async def help(ctx, category=None):

@bot.command()
async def request(ctx, feature):
for cid in config["maintainers"]:
creator = bot.get_user(cid)
for channel_id in config["maintainers"]:
creator = bot.get_user(channel_id)
authors_name = str(ctx.author)
await creator.send(f""":pencil: {authors_name}: {feature}""")
await ctx.send(f""":pencil: Thanks, "{feature}" has been requested!""")


@bot.command()
async def report(ctx, error_report):
for cid in config["maintainers"]:
creator = bot.get_user(cid)
for channel_id in config["maintainers"]:
creator = bot.get_user(channel_id)
authors_name = str(ctx.author)
await creator.send(
f""":triangular_flag_on_post: {authors_name}: {error_report}"""
Expand Down
Loading