Total Complexity | 1 |
Total Lines | 12 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | from pincer import command |
||
2 | from pincer.objects import Embed, MessageContext |
||
3 | |||
4 | |||
5 | class SayCog: |
||
6 | @command(description="Say something as the bot!") |
||
7 | async def say(self, ctx: MessageContext, message: str): |
||
8 | return Embed("", f"{ctx.author.user.mention} said:\n{message}") |
||
9 | |||
10 | |||
11 | setup = SayCog |
||
12 |