This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
youys
/
Discord.Net
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
34
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Fix Channel Types Attribute (
#2066
)
* fix channeltypes attribute * fix channeltypes attribute
fix/fix-thread-member-download
Cenk Ergen
GitHub
3 years ago
parent
37ada59639
commit
1917961ee3
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
src/Discord.Net.Interactions/TypeConverters/DefaultEntityTypeConverter.cs
+ 2
- 1
src/Discord.Net.Interactions/TypeConverters/DefaultEntityTypeConverter.cs
View File
@@ -72,7 +72,8 @@ namespace Discord.Interactions
public override void Write (ApplicationCommandOptionProperties properties, IParameterInfo parameter)
{
properties.ChannelTypes = _channelTypes;
if (_channelTypes is not null)
properties.ChannelTypes = _channelTypes;
}
}
Write
Preview
Loading…
Cancel
Save