Skip to content

Commit

Permalink
Fix missed direct reply
Browse files Browse the repository at this point in the history
  • Loading branch information
tiltowait committed Mar 2, 2021
1 parent 9facc30 commit 47c8860
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tzimisce/parse/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ async def parse(ctx, command):

if command["syntax"][0].isalpha(): # Only macros start with alpha
if ctx.channel.type is discord.ChannelType.private:
await ctx.send("Sorry, you can't store macros in private DMs!")
return
response = Response(Response.DATABASE)
response.content = "Sorry, you can't store macros in private DMs!"
return response

query_result = masquerade.database.query_saved_rolls(
guild=ctx.guild.id,
Expand Down

0 comments on commit 47c8860

Please sign in to comment.