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):
549
549
550
550
allowed_mentions = fields .get ("allowed_mentions" )
551
551
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 (
554
554
allowed_mentions
555
555
).to_dict ()
556
556
else :
557
557
_resp ["allowed_mentions" ] = allowed_mentions .to_dict ()
558
558
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 ()
561
561
else :
562
562
_resp ["allowed_mentions" ] = {}
563
563
You can’t perform that action at this time.
0 commit comments