mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
parent
ae7b912ac8
commit
b550f38eed
@ -317,6 +317,7 @@ class Reports:
|
|||||||
if msgs:
|
if msgs:
|
||||||
self.tunnel_store[k]["msgs"] = msgs
|
self.tunnel_store[k]["msgs"] = msgs
|
||||||
|
|
||||||
|
@commands.guild_only()
|
||||||
@checks.mod_or_permissions(manage_members=True)
|
@checks.mod_or_permissions(manage_members=True)
|
||||||
@report.command(name="interact")
|
@report.command(name="interact")
|
||||||
async def response(self, ctx, ticket_number: int):
|
async def response(self, ctx, ticket_number: int):
|
||||||
@ -329,7 +330,6 @@ class Reports:
|
|||||||
Tunnels do not persist across bot restarts.
|
Tunnels do not persist across bot restarts.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# note, mod_or_permissions is an implicit guild_only
|
|
||||||
guild = ctx.guild
|
guild = ctx.guild
|
||||||
rec = await self.config.custom("REPORT", guild.id, ticket_number).report()
|
rec = await self.config.custom("REPORT", guild.id, ticket_number).report()
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user