aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/decorators.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/decorators.py b/src/utils/decorators.py
index 855d2b2e..cb19bf9f 100644
--- a/src/utils/decorators.py
+++ b/src/utils/decorators.py
@@ -11,7 +11,7 @@ class BitBotMagic(object):
def add_hook(self, hook: str, kwargs: dict):
self._hooks.append((hook, kwargs))
def add_kwarg(self, key: str, value: typing.Any):
- self._kwargs.append((key, value))
+ self._kwargs.insert(0, (key, value))
def get_hooks(self):
hooks: typing.List[typing.Tuple[str, typing.List[Tuple[str, typing.Any]]]] = []