Discord.py: Allow editing on more guild options. (rewrite branch)

Created on 31 Oct 2018  路  5Comments  路  Source: Rapptz/discord.py

I would like to edit and view the guild parameters explicit_content_filter, default_message_notifications, simple as that. I would add them myself, but I don't want to mess anything up haha.

For now I've been manually doing things like

response = await client.http.request(Route('GET', '/guilds/{guild_id}', guild_id=guild.id))
default_message_notifications= response['default_message_notifications']

which is a bit hacky in my opinion.

Thanks 馃憤

feature request v1.0-alpha

Most helpful comment

@SpencerOs This is possible on the rewrite branch, with Guild.create_custom_emoji or Emoji.edit.
Please don't hijack issues. For future questions like this, you should join either the official discord.py server or the Discord API server for help, as the README recommends.

All 5 comments

See #450. explicit_content_filter is not included in that however.

@Modelmat, if you looked I made a comment on #450, but it didn't have explicit_content_filter, so I just made a new issue 馃構

Been hunting (for a while) for a way to allow only certain roles to access emoji through something like the edit_custom_emoji() in https, and either I'm still too new to python (and this is easily possible) or I'm about to fall into the same hacky trap that AL1L fell into.

@SpencerOs This is possible on the rewrite branch, with Guild.create_custom_emoji or Emoji.edit.
Please don't hijack issues. For future questions like this, you should join either the official discord.py server or the Discord API server for help, as the README recommends.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

marcoshuck picture marcoshuck  路  16Comments

VoxelPrismatic picture VoxelPrismatic  路  16Comments

SakiiR picture SakiiR  路  17Comments

0x78f1935 picture 0x78f1935  路  20Comments

Chicchi73930 picture Chicchi73930  路  17Comments