FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
DSharpPlus/DSharpPlus.Commands/RefreshEventHandler.cs at master · DSharpPlus/DSharpPlus · GitHub
DSharpPlus
/
DSharpPlus
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
321
Star
1.3k
Code
Issues
77
Pull requests
3
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
DSharpPlus
/
DSharpPlus.Commands
/
RefreshEventHandler.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
16 lines (11 loc) · 472 Bytes
Breadcrumbs
DSharpPlus
/
DSharpPlus.Commands
/
RefreshEventHandler.cs
Copy path
File metadata and controls
16 lines (11 loc) · 472 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using
System
.
Threading
.
Tasks
;
using
DSharpPlus
.
EventArgs
;
namespace
DSharpPlus
.
Commands
;
internal
sealed
class
RefreshEventHandler
:
IEventHandler
<
ClientStartedEventArgs
>
{
private
readonly
CommandsExtension
extension
;
public
RefreshEventHandler
(
CommandsExtension
extension
)
=>
this
.
extension
=
extension
;
public
async
Task
HandleEventAsync
(
DiscordClient
sender
,
ClientStartedEventArgs
eventArgs
)
=>
await
this
.
extension
.
RefreshAsync
(
)
;
}
Back
|
FazBrowse Home
|
New Git URL