feat: ✨ Add missing soundboard and monetization permissions#2620
Merged
Dorukyum merged 7 commits intoNov 3, 2024
Conversation
1 << 42)1 << 42)
Paillat-dev
force-pushed
the
soundboard-permissions
branch
from
October 24, 2024 11:30
6be9354 to
203b9c7
Compare
Member
Author
|
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
requested 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
Member
|
Might as well also add |
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
1 << 42, 1 << 45)
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
Member
Author
|
|
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
plun1331
enabled auto-merge (squash)
November 2, 2024 20:26
Signed-off-by: Dorukyum <[email protected]>
Dorukyum
previously approved these changes
Nov 3, 2024
Dorukyum
disabled auto-merge
November 3, 2024 15:51
Dorukyum
enabled auto-merge (squash)
November 3, 2024 15:51
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]>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: ignorecomments were used, a comment is also left explaining why.