From 4d66912fa2ee8e3796cc645a2039a023a163dd1e Mon Sep 17 00:00:00 2001 From: aikaterna <20862007+aikaterna@users.noreply.github.com> Date: Thu, 5 Jul 2018 08:12:31 -0700 Subject: [PATCH] [v2 Autoeconomy] No massregister in DMs --- autoeconomy/autoeconomy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoeconomy/autoeconomy.py b/autoeconomy/autoeconomy.py index 3758f0c..52e807b 100644 --- a/autoeconomy/autoeconomy.py +++ b/autoeconomy/autoeconomy.py @@ -84,7 +84,7 @@ class AutoEconomy: """Displays the autoeconomy version.""" await self.bot.say("autoeconomy version {}.".format(self.version)) - @autoeconomy.command(name="massregister", pass_context=True) + @autoeconomy.command(name="massregister", pass_context=True, no_pm=True) async def massregister(self, ctx): """Mass register existing users.""" econ_cog = self.bot.get_cog('Economy')