|
@@ -54,14 +54,6 @@ class RollbotMessage:
|
|
|
sender_id in group_admins[group_id])
|
|
|
)
|
|
|
|
|
|
- @staticmethod
|
|
|
- def from_web(content):
|
|
|
- content = content.strip()
|
|
|
- if len(content) > 0 and content[0] not in BANGS:
|
|
|
- content = BANGS[0] + content
|
|
|
- # TODO should still assign an id...
|
|
|
- return RollbotMessage("WEB_FRONTEND", "user", None, None, None, content, False)
|
|
|
-
|
|
|
def args(self, normalize=True):
|
|
|
arg, rest = pop_arg(self.raw_args)
|
|
|
while arg is not None:
|