SomeNet
/
public repos
/
pub
/
jan
/
mattermost-bot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3621280
)
modules/TACommandAnnounceAll.py
author
Someone
<someone@somenet.org>
Sat, 8 Jan 2022 23:25:41 +0000
(
00:25
+0100)
committer
Someone
<someone@somenet.org>
Sat, 8 Jan 2022 23:25:41 +0000
(
00:25
+0100)
modules/TACommandAnnounceAll.py
patch
|
blob
|
history
diff --git
a/modules/TACommandAnnounceAll.py
b/modules/TACommandAnnounceAll.py
index 26e22c620a4b755314a6127cb276002dcf5827f3..4144a56ecae42973d92121214dc459ac53bbd453 100644
(file)
--- a/
modules/TACommandAnnounceAll.py
+++ b/
modules/TACommandAnnounceAll.py
@@
-20,7
+20,7
@@
class TACommandAnnounceAll(AbstractCommand):
user = self.bot.api.get_team_member(t["id"], data["user_id"], exc=False)
#if ("roles" in user and "team_admin" in user["roles"]) or self._require_team_admin(data, exc=False):
- if
self._require_team_admin(data, exc=False)
:
+ if
False
:
channel = self.bot.api.get_channel_by_name(t["id"], "town-square")
self.bot.api.create_post(channel["id"], data["text"])
posted_to += "\n+ "+t["name"]