fix(rmenus): Fix typo in addrole.
This commit is contained in:
@@ -971,6 +971,8 @@ class RoleMenuCog(LionCog):
|
|||||||
)
|
)
|
||||||
# TODO: Generate the custom message from the template if it doesn't exist
|
# TODO: Generate the custom message from the template if it doesn't exist
|
||||||
|
|
||||||
|
# TODO: Pathway for setting menu style
|
||||||
|
|
||||||
if rawmessage is not None:
|
if rawmessage is not None:
|
||||||
msg_config = target.config.rawmessage
|
msg_config = target.config.rawmessage
|
||||||
content = await msg_config.download_attachment(rawmessage)
|
content = await msg_config.download_attachment(rawmessage)
|
||||||
@@ -1356,7 +1358,7 @@ class RoleMenuCog(LionCog):
|
|||||||
await target.update_message()
|
await target.update_message()
|
||||||
if target_is_reaction:
|
if target_is_reaction:
|
||||||
try:
|
try:
|
||||||
await self.menu.update_reactons()
|
await target.update_reactons()
|
||||||
except SafeCancellation as e:
|
except SafeCancellation as e:
|
||||||
embed.add_field(
|
embed.add_field(
|
||||||
name=t(_p(
|
name=t(_p(
|
||||||
|
|||||||
Reference in New Issue
Block a user