From 4b14bcb4b1273629d65ecd10e62a6d05537a9fbc Mon Sep 17 00:00:00 2001 From: Someone Date: Sun, 9 Jan 2022 00:25:41 +0100 Subject: [PATCH] modules/TACommandAnnounceAll.py --- modules/TACommandAnnounceAll.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/TACommandAnnounceAll.py b/modules/TACommandAnnounceAll.py index 26e22c6..4144a56 100644 --- 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"] -- 2.43.0