| Conditions | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | from pincer import Client |
||
| 7 | @command(description="Say something as the bot!") |
||
| 8 | async def say( |
||
| 9 | self, |
||
| 10 | ctx: MessageContext, |
||
| 11 | content: CommandArg[str, Description["The content of the message"]], |
||
| 12 | ) -> Embed: |
||
| 13 | # Using the ctx to get the command author |
||
| 14 | return Embed(description=f"{ctx.author.user.mention} said {content}") |
||
| 15 | |||
| 24 |