🪛 Fixed swroll bug

This commit is contained in:
NikolajDanger
2020-11-01 18:41:07 +01:00
parent 9ba9a7b86c
commit 27ab89b5b6
2 changed files with 3 additions and 6 deletions

View File

@ -11,7 +11,7 @@ class SwCog(commands.Cog):
# Rolls star wars dice
@commands.command()
async def swroll(self, ctx, *, content):
async def swroll(self, ctx, *, content = ""):
command = cap(content)
newMessage = self.client.swroll.parseRoll("#"+str(ctx.message.author.id),command)
messageList = newMessage.split("\n")