-
-
Notifications
You must be signed in to change notification settings - Fork 467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: ✨ Add missing soundboard and monetization permissions #2620
Merged
Dorukyum
merged 7 commits into
Pycord-Development:master
from
Paillat-dev:soundboard-permissions
Nov 3, 2024
Merged
feat: ✨ Add missing soundboard and monetization permissions #2620
Dorukyum
merged 7 commits into
Pycord-Development:master
from
Paillat-dev:soundboard-permissions
Nov 3, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Paillat-dev
changed the title
✨ Soundboard perms (
feat: ✨ Soundboard perms (Oct 24, 2024
1 << 42
)1 << 42
)
Paillat-dev
force-pushed
the
soundboard-permissions
branch
from
October 24, 2024 11:30
6be9354
to
203b9c7
Compare
This: @bot.slash_command()
async def toggle_soundboard_perms_false(ctx: discord.ApplicationContext, channel: discord.VoiceChannel):
await channel.edit(overwrites={ctx.guild.default_role: discord.PermissionOverwrite(use_soundboard=False)})
await ctx.respond(f"Soundboard perms for {channel} have been toggled off.")
@bot.slash_command()
async def toggle_soundboard_perms_true(ctx: discord.ApplicationContext, channel: discord.VoiceChannel):
await channel.edit(overwrites={ctx.guild.default_role: discord.PermissionOverwrite(use_soundboard=True)})
await ctx.respond(f"Soundboard perms for {channel} have been toggled on.")
@bot.slash_command()
async def toggle_soundboard_perms_default(ctx: discord.ApplicationContext, channel: discord.VoiceChannel):
await channel.edit(overwrites={ctx.guild.default_role: discord.PermissionOverwrite(use_soundboard=None)})
await ctx.respond(f"Soundboard perms for {channel} have been reset to default.") |
JustaSqu1d
suggested changes
Oct 24, 2024
Paillat-dev
force-pushed
the
soundboard-permissions
branch
2 times, most recently
from
October 24, 2024 12:29
9b29461
to
9071158
Compare
Might as well also add |
Paillat-dev
changed the title
feat: ✨ Soundboard perms (
feat: ✨ Soundboard perms (Oct 24, 2024
1 << 42
)1 << 42
, 1 << 45
)
Paillat-dev
force-pushed
the
soundboard-permissions
branch
2 times, most recently
from
October 24, 2024 13:05
e1f1aea
to
588aa97
Compare
9 tasks
Paillat-dev
force-pushed
the
soundboard-permissions
branch
from
October 24, 2024 13:58
588aa97
to
5b2f1ae
Compare
Paillat-dev
changed the title
feat: ✨ Soundboard perms (
feat: ✨ Add missing permissions (soundboard + subscriptions thing analythics whatever)
Oct 24, 2024
1 << 42
, 1 << 45
)
Paillat-dev
changed the title
feat: ✨ Add missing permissions (soundboard + subscriptions thing analythics whatever)
feat: ✨ Add missing permissions (soundboard + subscriptions thing analytics whatever)
Oct 24, 2024
Paillat-dev
force-pushed
the
soundboard-permissions
branch
from
October 24, 2024 14:01
5b2f1ae
to
9202002
Compare
Lulalaby
requested changes
Oct 24, 2024
Lulalaby
previously approved these changes
Oct 24, 2024
|
Paillat-dev
commented
Oct 24, 2024
auto-merge was automatically disabled
October 29, 2024 09:53
Head branch was pushed to by a user without write access
Paillat-dev
force-pushed
the
soundboard-permissions
branch
from
October 29, 2024 09:53
b15e852
to
3bd902a
Compare
plun1331
previously approved these changes
Nov 2, 2024
Dorukyum
changed the title
feat: ✨ Add missing permissions (soundboard + subscriptions thing analytics whatever)
feat: ✨ Add missing soundboard and monetization permissions
Nov 3, 2024
Signed-off-by: Dorukyum <[email protected]>
Dorukyum
previously approved these changes
Nov 3, 2024
Signed-off-by: Dorukyum <[email protected]>
Signed-off-by: Dorukyum <[email protected]>
Dorukyum
approved these changes
Nov 3, 2024
plun1331
approved these changes
Nov 3, 2024
OmLanke
pushed a commit
to OmLanke/pycord
that referenced
this pull request
Dec 16, 2024
…evelopment#2620) * ✨ Soundboard perms (`1 << 42`, `1 << 45`) * ✨ Add creator monetization analytics perms (`1 << 41`) * 📝 CHANGELOG.md * Update CHANGELOG.md Signed-off-by: Dorukyum <[email protected]> --------- Signed-off-by: Dorukyum <[email protected]> Co-authored-by: plun1331 <[email protected]> Co-authored-by: Dorukyum <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
feature
Implements a feature
priority: medium
Medium Priority
status: awaiting review
Awaiting review from a maintainer
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Information
partially fixes but not entirely Soundboard #2216
Note: permissions were not part of feat: implement soundboard features #2321 (now closed), this is additional to that or other pr
examples, ...).
Checklist
type: ignore
comments were used, a comment is also left explaining why.