|
@@ -95,6 +95,10 @@ class DiscordBot(rollbot.Rollbot[discord.Message]):
|
|
|
sender_name=msg.author.name,
|
|
|
text=msg.content,
|
|
|
attachments=attachments,
|
|
|
+ force_command=(
|
|
|
+ isinstance(msg.channel, discord.DMChannel)
|
|
|
+ and msg.author != msg.channel.me
|
|
|
+ ),
|
|
|
)
|
|
|
|
|
|
async def respond(self, response: rollbot.Response):
|