Comments (3)
does Client.Channel(..).Update().Name("new-name").Execute()
do what you're looking for?
The cache is only updated by the incoming gateway events. This way the cache will only reflect what discord has told us the correct state, instead of being manipulated by a user which can quickly cause bugs and sync issues.
from disgord.
@andersfylling are you sure ChannelQueryBuilder
has Update()
method?
this is the error I am getting on compilation:
client.clientQueryBuilder.Channel(ChannelID).Update undefined (type disgord.ChannelQueryBuilder has no field or method Update)
from disgord.
ohh, it is:
client.Channel(ChannelID).UpdateBuilder().SetName("mint:111").Execute()
thanks a lot!!!
@andersfylling
from disgord.
Related Issues (20)
- Heartbeat process causes disconnection for bots with large guild membership HOT 1
- Stickers not populated in incoming Message objects HOT 1
- [interfaces Coper & DeepCopier] Enforce sub structures to implement them HOT 2
- Guild.VoiceStates not kept up to date HOT 2
- testing HOT 1
- No SetFlags method for Message Update Builder HOT 2
- No way to disconnect member from channel HOT 3
- Guild method MembersByName() - nil pointer only on production.
- VoiceState missing fields HOT 1
- Can`t get user input from interaction event: missing fields HOT 6
- How to get users in scheduled event? HOT 3
- CreateMessageFile for interactions HOT 2
- VoiceChannel().Connect() seems to not handle moving channels properly HOT 3
- disgord.Time can not be used in a update request as there is represent a reset
- Dependency Dashboard
- Ability to add/edit files through Session.EditInteractionResponse() HOT 2
- `channel.SendMsg` doesn't send the `Components`
- VoiceChannel.Connect() timing out on some servers
- Project to be archived HOT 3
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 disgord.