Comments (1)
There's Client.get_channel
which you pass in a string ID and you get the channel.
For users you can use discord.utils.find
.
e.g. discord.utils.find(lambda m: m.name == 'Hello', some_server.members)
.
from discord.py.
Related Issues (20)
- Add support for User-Installed Apps HOT 2
- Using a discord.ui.TextInput in a View is apparently not supported HOT 4
- Add delete auto moderation rule.
- file_type property for Attachment class HOT 1
- Appcommands autcomplete should have a limit. HOT 1
- Circular Import in Discord Bot Types HOT 5
- BOT disconnects from VC on its own. HOT 7
- discord.ext.commands.checks predicates acting different if command is in group HOT 2
- [Glitch?] allowed_mentions ignored for short duration HOT 4
- Bug / Question HOT 15
- [types] Typing-checking error for `commands.hybrid_command()` and `app_commands.command()` decorators.
- webhook ?thread_id= support HOT 3
- Threads in deleted channels not removed from cache
- When editing automod rules, error occuerd HOT 1
- Channel Converters should support channel links
- `Task.loop` runs on the main thread, and does not yield async HOT 2
- Add support for poll making HOT 2
- Attachment converter does not capture attachments for VAR_POSITIONAL parameters
- "asyncio.run() cannot be called from a running event loop") HOT 3
- Intents HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discord.py.