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 a variable name copy pasta mistake
line 35 was _database.GetData() instead of DBService.GetData()
pull/1304/head
The Noodle Mummy
Still Hsu
6 years ago
parent
532ec7534d
commit
98e995e807
1 changed files
with
2 additions
and
2 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
docs/guides/commands/samples/dependency-injection/dependency_module.cs
+ 2
- 2
docs/guides/commands/samples/dependency-injection/dependency_module.cs
View File
@@ -32,6 +32,6 @@ public class DatabaseModule : ModuleBase<SocketCommandContext>
[Command("read")]
[Command("read")]
public async Task ReadFromDbAsync()
public async Task ReadFromDbAsync()
{
{
await ReplyAsync(
_databas
e.GetData());
await ReplyAsync(
DbServic
e.GetData());
}
}
}
}
Write
Preview
Loading…
Cancel
Save