This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
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
Add support for long in autocomplete option
pull/1923/head
quin lynch
4 years ago
parent
3ba69169e3
commit
98845b96fa
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
src/Discord.Net.Core/Entities/Interactions/AutocompleteResult.cs
+ 1
- 0
src/Discord.Net.Core/Entities/Interactions/AutocompleteResult.cs
View File
@@ -57,6 +57,7 @@ namespace Discord
{
string str => str,
int integer => integer,
long lng => lng,
double number => number,
_ => throw new ArgumentException($"Type {value.GetType().Name} cannot be set as a value! Only string, int, and double allowed!"),
};
Write
Preview
Loading…
Cancel
Save