Commit efbd720
fix(channel, sync): Prevent bot from crashing if it is invited without
* refactor: optimize sync behavior
* ooops
* Update interactions/api/http/interaction.py
Co-authored-by: Toricane <73972068+Toricane@users.noreply.github.com>
* Update interactions/client/bot.pyi
Co-authored-by: Toricane <73972068+Toricane@users.noreply.github.com>
* Update interactions/api/http/scheduledEvent.py
Co-authored-by: Toricane <73972068+Toricane@users.noreply.github.com>
* Update interactions/client/bot.py
Co-authored-by: Toricane <73972068+Toricane@users.noreply.github.com>
* Update bot.py
* ci: correct from checks.
* fix: Fix command check for user and member decorator
* Update interactions/client/bot.py
Co-authored-by: Toricane <73972068+Toricane@users.noreply.github.com>
* fix!: Fix autocomplete when sync is disabled
* Update bot.py
* Update bot.py
* Update bot.pyi
* ci: correct from checks.
* Update bot.py
* fix: fix option checks and autocomplete dispatch with command names
* ci
* refactor: unnecessary if checks
* fix!: Fix synchronisation by properly checking attributes and their logic comparators.
* refactor: Remove print statements.
* refactor: move sync and autocomplete into _ready
* doc: add warning
* Update interactions/client/bot.py
Co-authored-by: Toricane <73972068+Toricane@users.noreply.github.com>
* refactor!: Consider extensions in the sync process
* ci: correct from checks.
* i hate merge conflicts
* purge: remove debugging changes
* Update interactions/client/bot.py
Co-authored-by: Toricane <73972068+Toricane@users.noreply.github.com>
* Update interactions/client/bot.py
Co-authored-by: Toricane <73972068+Toricane@users.noreply.github.com>
* fix: consider loading after bot start
* ci: correct from checks.
* refactor: make compare sync static
* ci: correct from checks.
* fix: consider sync toggle on load
* fix: Fix attribute reference typo.
* fix!: Attempt to fix critical error on startup with JSONException
* add check
* fix
* refactor: change raise to warning if sync is off
* ci: correct from checks.
* fix!: continue
* fix!: fix snyc bug if the bot does not have the `application.commands` scope; include checks for subcommands
* fix: fix permission overwrite serialization and allow modifying channels without category
* ci
Co-authored-by: Toricane <73972068+Toricane@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: DeltaX <33706469+DeltaXWizard@users.noreply.github.com>application.commands scope; allow modifying channels outside of a category (#780)1 parent 570c671 commit efbd720
3 files changed
+132
-87
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
185 | 188 | | |
186 | 189 | | |
187 | 190 | | |
| |||
349 | 352 | | |
350 | 353 | | |
351 | 354 | | |
352 | | - | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
353 | 360 | | |
354 | 361 | | |
355 | | - | |
| 362 | + | |
356 | 363 | | |
357 | 364 | | |
358 | 365 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
834 | 834 | | |
835 | 835 | | |
836 | 836 | | |
837 | | - | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
838 | 840 | | |
839 | 841 | | |
840 | | - | |
| 842 | + | |
841 | 843 | | |
842 | 844 | | |
843 | 845 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| 158 | + | |
158 | 159 | | |
159 | 160 | | |
160 | 161 | | |
| |||
170 | 171 | | |
171 | 172 | | |
172 | 173 | | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
173 | 250 | | |
174 | 251 | | |
175 | 252 | | |
| |||
197 | 274 | | |
198 | 275 | | |
199 | 276 | | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
| 277 | + | |
277 | 278 | | |
278 | 279 | | |
279 | 280 | | |
| |||
354 | 355 | | |
355 | 356 | | |
356 | 357 | | |
357 | | - | |
358 | | - | |
| 358 | + | |
| 359 | + | |
359 | 360 | | |
360 | 361 | | |
361 | 362 | | |
| |||
398 | 399 | | |
399 | 400 | | |
400 | 401 | | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
401 | 413 | | |
402 | 414 | | |
403 | 415 | | |
| |||
431 | 443 | | |
432 | 444 | | |
433 | 445 | | |
| 446 | + | |
434 | 447 | | |
435 | 448 | | |
436 | 449 | | |
| |||
439 | 452 | | |
440 | 453 | | |
441 | 454 | | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
442 | 468 | | |
443 | 469 | | |
444 | 470 | | |
| |||
453 | 479 | | |
454 | 480 | | |
455 | 481 | | |
456 | | - | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
457 | 485 | | |
458 | 486 | | |
459 | 487 | | |
| |||
999 | 1027 | | |
1000 | 1028 | | |
1001 | 1029 | | |
1002 | | - | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
1003 | 1035 | | |
1004 | 1036 | | |
1005 | 1037 | | |
| |||
1064 | 1096 | | |
1065 | 1097 | | |
1066 | 1098 | | |
1067 | | - | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
1068 | 1104 | | |
1069 | 1105 | | |
1070 | 1106 | | |
| |||
0 commit comments