From 1b1680673149150e9e0215bc4083ba3df8e7ad2c Mon Sep 17 00:00:00 2001
From: Someone <someone@somenet.org>
Date: Mon, 10 Jan 2022 16:20:15 +0100
Subject: [PATCH 01/16] modules/CommandJoinActive.py
---
modules/CommandJoinActive.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/CommandJoinActive.py b/modules/CommandJoinActive.py
index df5f293..9899c93 100644
--- a/modules/CommandJoinActive.py
+++ b/modules/CommandJoinActive.py
@@ -6,6 +6,7 @@ import datetime
import threading
from inspect import cleandoc
+# pylint: disable=wrong-import-position
from AbstractCommand import AbstractCommand
class CommandJoinActive(AbstractCommand):
TRIGGER = "join-active"
--
2.47.3
From 16ca776f788db6cb3581e12afbf6ec82b9a69b1f Mon Sep 17 00:00:00 2001
From: Someone <someone@somenet.org>
Date: Mon, 10 Jan 2022 16:20:15 +0100
Subject: [PATCH 02/16] modules/CommandJoinAll.py
---
modules/CommandJoinAll.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/CommandJoinAll.py b/modules/CommandJoinAll.py
index 8142e2f..002e739 100644
--- a/modules/CommandJoinAll.py
+++ b/modules/CommandJoinAll.py
@@ -5,6 +5,7 @@
+# pylint: disable=wrong-import-position
from AbstractCommand import AbstractCommand
class CommandJoinAll(AbstractCommand):
TRIGGER = "join-all"
--
2.47.3
From 2d5279e40e1be905b3f03e506b12f6185ca40328 Mon Sep 17 00:00:00 2001
From: Someone <someone@somenet.org>
Date: Mon, 10 Jan 2022 16:20:15 +0100
Subject: [PATCH 03/16] modules/CommandLernrauminfo.py
---
modules/CommandLernrauminfo.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/CommandLernrauminfo.py b/modules/CommandLernrauminfo.py
index 4ae883c..4959859 100644
--- a/modules/CommandLernrauminfo.py
+++ b/modules/CommandLernrauminfo.py
@@ -6,6 +6,7 @@
from inspect import cleandoc
+# pylint: disable=wrong-import-position
from AbstractCommand import AbstractCommand
class CommandLernrauminfo(AbstractCommand):
TRIGGER = "lernrauminfo"
--
2.47.3
From 7e5cb4b0c6e08db75004d6f0c56a0281c2002b26 Mon Sep 17 00:00:00 2001
From: Someone <someone@somenet.org>
Date: Mon, 10 Jan 2022 16:20:15 +0100
Subject: [PATCH 04/16] modules/CommandOrder.py
---
modules/CommandOrder.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/CommandOrder.py b/modules/CommandOrder.py
index 20854e7..8da2baf 100644
--- a/modules/CommandOrder.py
+++ b/modules/CommandOrder.py
@@ -5,6 +5,7 @@
from inspect import cleandoc
+# pylint: disable=wrong-import-position
from AbstractCommand import AbstractCommand
class CommandOrder(AbstractCommand):
TRIGGER = "order"
--
2.47.3
From 2f0d1a4ed8d12c3739947b92311da14abdd0f95c Mon Sep 17 00:00:00 2001
From: Someone <someone@somenet.org>
Date: Mon, 10 Jan 2022 16:20:15 +0100
Subject: [PATCH 05/16] modules/CommandPlenum.py
---
modules/CommandPlenum.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/CommandPlenum.py b/modules/CommandPlenum.py
index 08889aa..dc40748 100644
--- a/modules/CommandPlenum.py
+++ b/modules/CommandPlenum.py
@@ -5,6 +5,7 @@
from inspect import cleandoc
+# pylint: disable=wrong-import-position
from AbstractCommand import AbstractCommand
class CommandPlenum(AbstractCommand):
TRIGGER = "plenum"
--
2.47.3
From a9f421d1750a5082b85790e410f150ae8e088e43 Mon Sep 17 00:00:00 2001
From: Someone <someone@somenet.org>
Date: Mon, 10 Jan 2022 16:20:15 +0100
Subject: [PATCH 06/16] modules/CommandRandomFoodSource.py
---
modules/CommandRandomFoodSource.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/CommandRandomFoodSource.py b/modules/CommandRandomFoodSource.py
index 4897f09..0196115 100644
--- a/modules/CommandRandomFoodSource.py
+++ b/modules/CommandRandomFoodSource.py
@@ -5,6 +5,7 @@
import random
+# pylint: disable=wrong-import-position
from AbstractCommand import AbstractCommand
class CommandRandomFoodSource(AbstractCommand):
TRIGGER = "randomFood"
--
2.47.3
From 88ae2b465ef8c9de6891ce6e6931e3fdf6756032 Mon Sep 17 00:00:00 2001
From: Someone <someone@somenet.org>
Date: Mon, 10 Jan 2022 16:20:15 +0100
Subject: [PATCH 07/16] modules/CommandRaumsuche.py
---
modules/CommandRaumsuche.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/CommandRaumsuche.py b/modules/CommandRaumsuche.py
index 110815e..ce26694 100644
--- a/modules/CommandRaumsuche.py
+++ b/modules/CommandRaumsuche.py
@@ -7,6 +7,7 @@ import sys
import re
+# pylint: disable=wrong-import-position
from AbstractCommand import AbstractCommand
class CommandRaumsuche(AbstractCommand):
TRIGGER = "raumsuche"
--
2.47.3
From 7e549546dc7cc19071b501f379cf8149a62009ed Mon Sep 17 00:00:00 2001
From: Someone <someone@somenet.org>
Date: Mon, 10 Jan 2022 16:20:15 +0100
Subject: [PATCH 08/16] modules/CommandRollDice.py
---
modules/CommandRollDice.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/CommandRollDice.py b/modules/CommandRollDice.py
index 3ab7ac2..e20d08e 100644
--- a/modules/CommandRollDice.py
+++ b/modules/CommandRollDice.py
@@ -6,6 +6,7 @@ from random import randint
import re
+# pylint: disable=wrong-import-position
from AbstractCommand import AbstractCommand
class CommandRollDice(AbstractCommand):
TRIGGER = "roll"
--
2.47.3
From a3d2baa86a7b7895abf539635d9e1f31e59483b0 Mon Sep 17 00:00:00 2001
From: Someone <someone@somenet.org>
Date: Mon, 10 Jan 2022 16:20:15 +0100
Subject: [PATCH 09/16] modules/CommandRoom.py
---
modules/CommandRoom.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/CommandRoom.py b/modules/CommandRoom.py
index 525c508..834a9c1 100644
--- a/modules/CommandRoom.py
+++ b/modules/CommandRoom.py
@@ -6,6 +6,7 @@
import requests
+# pylint: disable=wrong-import-position
from AbstractCommand import AbstractCommand
class CommandRoom(AbstractCommand):
TRIGGER = "room"
--
2.47.3
From 2c5e4a3e0b9680ca6ac15221c24b383224b0423d Mon Sep 17 00:00:00 2001
From: Someone <someone@somenet.org>
Date: Mon, 10 Jan 2022 16:20:15 +0100
Subject: [PATCH 10/16] modules/CommandSendInfCoinTo.py
---
modules/CommandSendInfCoinTo.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/CommandSendInfCoinTo.py b/modules/CommandSendInfCoinTo.py
index 1b5a48e..4bc453d 100644
--- a/modules/CommandSendInfCoinTo.py
+++ b/modules/CommandSendInfCoinTo.py
@@ -7,6 +7,7 @@ import os
import requests
+# pylint: disable=wrong-import-position
from AbstractCommand import AbstractCommand
class CommandSendInfCoinTo(AbstractCommand):
TRIGGER = "send-inf-coin-to"
--
2.47.3
From d65b57ca17ce89314b2f87befa9e8b3c4bddb4a9 Mon Sep 17 00:00:00 2001
From: Someone <someone@somenet.org>
Date: Mon, 10 Jan 2022 16:20:15 +0100
Subject: [PATCH 11/16] modules/CommandShouldITUIt.py
---
modules/CommandShouldITUIt.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/CommandShouldITUIt.py b/modules/CommandShouldITUIt.py
index af24aa1..d588aa0 100644
--- a/modules/CommandShouldITUIt.py
+++ b/modules/CommandShouldITUIt.py
@@ -5,6 +5,7 @@
import random
+# pylint: disable=wrong-import-position
from AbstractCommand import AbstractCommand
class CommandShouldITUIt(AbstractCommand):
TRIGGER = "should_i_tu_it"
--
2.47.3
From eefd5380ea72f5cbfd6e80613e66996a1891f250 Mon Sep 17 00:00:00 2001
From: Someone <someone@somenet.org>
Date: Mon, 10 Jan 2022 16:20:15 +0100
Subject: [PATCH 12/16] modules/CommandSpoilerAdv.py
---
modules/CommandSpoilerAdv.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/CommandSpoilerAdv.py b/modules/CommandSpoilerAdv.py
index 66ea331..3e4002b 100644
--- a/modules/CommandSpoilerAdv.py
+++ b/modules/CommandSpoilerAdv.py
@@ -4,6 +4,7 @@
+# pylint: disable=wrong-import-position
from AbstractCommand import AbstractCommand
class CommandSpoilerAdv(AbstractCommand):
TRIGGER = "spoiler-adv"
--
2.47.3
From bfb5cdeb87c9a4f6b27abb980b39bfd91608af08 Mon Sep 17 00:00:00 2001
From: Someone <someone@somenet.org>
Date: Mon, 10 Jan 2022 16:20:15 +0100
Subject: [PATCH 13/16] modules/CommandSpoiler.py
---
modules/CommandSpoiler.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/CommandSpoiler.py b/modules/CommandSpoiler.py
index 3d87a82..fa4f23f 100644
--- a/modules/CommandSpoiler.py
+++ b/modules/CommandSpoiler.py
@@ -4,6 +4,7 @@
+# pylint: disable=wrong-import-position
from AbstractCommand import AbstractCommand
class CommandSpoiler(AbstractCommand):
TRIGGER = "spoiler"
--
2.47.3
From 413a0c6ce1217b15251c23e75f8fbe189ae4e701 Mon Sep 17 00:00:00 2001
From: Someone <someone@somenet.org>
Date: Mon, 10 Jan 2022 16:20:16 +0100
Subject: [PATCH 14/16] modules/CommandThreads.py
---
modules/CommandThreads.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/CommandThreads.py b/modules/CommandThreads.py
index 539f5dd..40d5319 100644
--- a/modules/CommandThreads.py
+++ b/modules/CommandThreads.py
@@ -5,6 +5,7 @@
from inspect import cleandoc
+# pylint: disable=wrong-import-position
from AbstractCommand import AbstractCommand
class CommandThreads(AbstractCommand):
TRIGGER = "threads"
--
2.47.3
From d5c0e5a941ad35c84183fedb9c252d3f1a3039d0 Mon Sep 17 00:00:00 2001
From: Someone <someone@somenet.org>
Date: Mon, 10 Jan 2022 16:20:16 +0100
Subject: [PATCH 15/16] modules/CommandTissJoin.py
---
modules/CommandTissJoin.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/CommandTissJoin.py b/modules/CommandTissJoin.py
index 100f455..308e4e6 100644
--- a/modules/CommandTissJoin.py
+++ b/modules/CommandTissJoin.py
@@ -8,6 +8,7 @@ import re
REX_linesplit = re.compile(r"\xa0|\t|\s{4}")
+# pylint: disable=wrong-import-position
from AbstractCommand import AbstractCommand
class CommandTissJoin(AbstractCommand):
TRIGGER = "tissjoin"
--
2.47.3
From aab5ce44833ecd032478f57b5f43e4e8f27663fb Mon Sep 17 00:00:00 2001
From: Someone <someone@somenet.org>
Date: Mon, 10 Jan 2022 16:20:16 +0100
Subject: [PATCH 16/16] modules/CommandToss.py
---
modules/CommandToss.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/CommandToss.py b/modules/CommandToss.py
index e747db8..b5660d7 100644
--- a/modules/CommandToss.py
+++ b/modules/CommandToss.py
@@ -5,15 +5,15 @@
import requests
+# pylint: disable=wrong-import-position
from AbstractCommand import AbstractCommand
class CommandToss(AbstractCommand):
TRIGGER = "toss"
CONFIG = {"display_name": "somebot-command", "auto_complete": True,
"auto_complete_hint": "<any search term>",
}
- USEINFO = CONFIG["auto_complete_desc"] = CONFIG["description"] = "Use TOSS."
+ USEINFO = CONFIG["auto_complete_desc"] = CONFIG["description"] = AbstractCommand.ICON_PUBLIC+"Use toss.fsinf.at"
def on_POST(self, request, data):
- msg = "#### Let me :toss: that for you :)\n:arrow_right: https://toss.fsinf.at/?q="+requests.utils.quote(data["text"])
- request.cmd_respond_text_chan(msg)
+ request.respond_cmd_chan("#### Let me :toss: that for you :)\n:arrow_right: https://toss.fsinf.at/?q="+requests.utils.quote(data["text"]))
--
2.47.3