MCPcopy
hub / github.com/Rapptz/discord.py / _remove_channel

Method _remove_channel

discord/guild.py:477–478  ·  view source on GitHub ↗
(self, channel: Snowflake, /)

Source from the content-addressed store, hash-verified

475 self._channels[channel.id] = channel
476
477 def _remove_channel(self, channel: Snowflake, /) -> None:
478 self._channels.pop(channel.id, None)
479
480 def _voice_state_for(self, user_id: int, /) -> Optional[VoiceState]:
481 return self._voice_states.get(user_id)

Callers 1

parse_channel_deleteMethod · 0.80

Calls 1

popMethod · 0.80

Tested by

no test coverage detected