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
Fixed couple of unfinished properties
pull/1717/head
quin lynch
4 years ago
parent
d35ba91312
commit
27efb7d30d
2 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/Discord.Net.Rest/API/Common/ApplicationCommand.cs
+1
-1
src/Discord.Net.Rest/API/Common/ApplicationCommandInteractionData.cs
+ 1
- 1
src/Discord.Net.Rest/API/Common/ApplicationCommand.cs
View File
@@ -12,6 +12,6 @@ namespace Discord.API
public ulong ApplicationId { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public
IEnumerable<ApplicationCommand>
public
ApplicationCommand[] Options { get; set; }
}
}
+ 1
- 1
src/Discord.Net.Rest/API/Common/ApplicationCommandInteractionData.cs
View File
@@ -16,6 +16,6 @@ namespace Discord.API
public string Name { get; set; }
[JsonProperty("options")]
public Optional<
IEnumerable<ApplicationCommandInteractionDataOption>>
public Optional<
ApplicationCommandInteractionDataOption[]> Options { get; set; }
}
}
Write
Preview
Loading…
Cancel
Save