We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a1bdbc commit ab432e4Copy full SHA for ab432e4
2 files changed
src/config.py
@@ -137,7 +137,8 @@ def set_env_var(
137
CATEGORY_IDS: dict[str, int] = {
138
"official": 568810044309766151,
139
"administration": 568810044309766151,
140
- "technical": 1202325296133701723,
+ # "technical": 1202325296133701723,
141
+ "technical": 1515768461043961967,
142
"general": 627868752310042627,
143
"general-bots": 1202319516407697438,
144
"webgroup": 1202321207811395624,
@@ -157,7 +158,8 @@ def set_env_var(
157
158
"committee": 568762266992902179,
159
"cmt": 568762266992902179,
160
"events": 807389174009167902,
- "admins": 585512338728419341,
161
+ # "admins": 585512338728419341,
162
+ "admins": 1515778822761484299,
163
"helpdesk": 1194683307921772594,
164
}
165
src/extensions/ticket.py
@@ -8,7 +8,7 @@
8
TextSelectMenuInteractionComponent,
9
)
10
11
-from src.config import CATEGORY_IDS, ROLE_IDS
+from src.config import CATEGORY_IDS, ROLE_IDS, UID_MAPS
12
from src.hooks import restrict_to_roles
13
from src.models import Blockbot, BlockbotContext, BlockbotPlugin
14
@@ -116,6 +116,11 @@ async def modal_submit(interaction: hikari.ModalInteraction) -> None:
116
channel_name,
117
category=CATEGORY_IDS["technical"],
118
permission_overwrites=[
119
+ hikari.PermissionOverwrite(
120
+ id=int(UID_MAPS["chair"]),
121
+ type=hikari.PermissionOverwriteType.MEMBER,
122
+ allow=hikari.Permissions.VIEW_CHANNEL,
123
+ ),
124
hikari.PermissionOverwrite(
125
id=permission_role,
126
type=hikari.PermissionOverwriteType.ROLE,
0 commit comments