reenable command parsing speedups
"""Much of the code in this folder is from github.com/Rapptz/discord.py, credit is to the author of discord.py"""
-# import importlib
+import importlib
import sys
import speedups.mixins
@@ -11,7 +11,7 @@ import speedups.message
import speedups.ext.commands.cooldowns as speedups_cooldowns
-# import speedups.ext.commands.view as speedups_view
+import speedups.ext.commands.view as speedups_view
def install_module(new_module, old_module):
@@ -27,6 +27,6 @@ def install():
install_module(new_module, discord)
install_module(speedups_cooldowns, discord.ext.commands.cooldowns)
- # install_module(speedups_view, discord.ext.commands.view)
- #
- # importlib.reload(discord.ext.commands.bot)
+ install_module(speedups_view, discord.ext.commands.view)
+
+ importlib.reload(discord.ext.commands.bot)
