Skip to content

Commit

Permalink
Merge pull request #26 from EdVraz/master
Browse files Browse the repository at this point in the history
................
  • Loading branch information
EepyElvyra authored Nov 11, 2021
2 parents 452920e + d318161 commit 08259da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/server_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ async def _create_role(self, ctx: SlashContext, name: str, color: str):
)
try:
admin = await wait_for_component(self.bot, components=[adm_ar], timeout=600)
await answer.defer(edit_origin=True)
await admin.defer(edit_origin=True)
except asyncio.TimeoutError:
for i in range(2):
adm_ar["components"][i]["disabled"] = True
Expand Down

0 comments on commit 08259da

Please sign in to comment.