File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -549,15 +549,15 @@ async def _slash_edit(self, **fields):
549549
550550 allowed_mentions = fields .get ("allowed_mentions" )
551551 if allowed_mentions is not None :
552- if self .bot .allowed_mentions is not None :
553- _resp ["allowed_mentions" ] = self .bot .allowed_mentions .merge (
552+ if self ._state .allowed_mentions is not None :
553+ _resp ["allowed_mentions" ] = self ._state .allowed_mentions .merge (
554554 allowed_mentions
555555 ).to_dict ()
556556 else :
557557 _resp ["allowed_mentions" ] = allowed_mentions .to_dict ()
558558 else :
559- if self .bot .allowed_mentions is not None :
560- _resp ["allowed_mentions" ] = self .bot .allowed_mentions .to_dict ()
559+ if self ._state .allowed_mentions is not None :
560+ _resp ["allowed_mentions" ] = self ._state .allowed_mentions .to_dict ()
561561 else :
562562 _resp ["allowed_mentions" ] = {}
563563
You can’t perform that action at this time.
0 commit comments