AAA3A-AAA3A / AAA3A-cogs

Many cogs for Red-DiscordBot.
https://aaa3a-cogs.readthedocs.io/en/latest
Other
35 stars 28 forks source link

[SimpleSanction] `TypeError` in `simplesanction.utils.confirmation_ask`. #31

Closed GBD-Media closed 1 year ago

GBD-Media commented 1 year ago

Simple Sanction won't allow any actions to be performed.

Error in [text] command of sanction

n] Exception in [text] command 'sanction'. ╭────────────────────────────── Traceback (most recent call last) ───────────────────────────────╮ │ ..../redenv/lib/python3.9/site-packages/discord/ext/commands/core.py:229 in wrapped │ │ ❱ 229 ret = await coro(*args, **kwargs) │ │ ..../cogs/CogManager/cogs/simplesanction/simplesanction.py:282 in _sanction │ │ ❱ 282 await self.call_sanction( │ │ ..../cogs/CogManager/cogs/simplesanction/simplesanction.py:938 in call_sanction │ │ ❱ 938 await self.call_actions( │ │ ...../cogs/CogManager/cogs/simplesanction/simplesan │ │ ction.py:1611 in call_actions │ │ ❱ 1611 confirmation = await utils.confirmation_ask( │ │ ...../cogs/CogManager/cogs/simplesanction/utils.py: │ │ 129 in confirmation_ask │ │ ❱ 129 return await CogsUtils(bot=self.bot).ConfirmationAsk(self=self, embed=embed) │ ╰────────────────────────────────────────────────────────────────────────────────────────────────╯ TypeError: ConfirmationAsk() got multiple values for argument 'self'