Esempio n. 1
0
 public async Task InviteAsync
 (
     [Summary("The ID of the bot whose invite to request.")]
     ulong botID
 )
 {
     await ReplyAsync(InviteUtilities.GenerateBotInviteLinkAdminPermissions(botID));
 }
Esempio n. 2
0
 public async Task InviteAsync
 (
     [Summary("The ID of the bot whose invite to request.")]
     ulong botID,
     [Summary("The permissions integer for the bot. Refer to the Discord API for how to get this number.")]
     ulong permissions
 )
 {
     await ReplyAsync(InviteUtilities.GenerateBotInviteLink(botID, permissions));
 }
Esempio n. 3
0
 public async Task InviteAsync()
 {
     await ReplyAsync(InviteUtilities.GenerateBotInviteLink(BotCredentials.Instance.ClientID, (ulong)BotClientManager.MinimumBotPermissions));
 }