Ajout d'une base sqlite, gestion des réactions directes ou sur commandes blame/reward, ajout de tops sur périodes, ...
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
using Discord.Commands;
|
||||
using Discord;
|
||||
using Discord.Commands;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Sean.Modules
|
||||
@ -9,6 +10,16 @@ namespace Sean.Modules
|
||||
[Command("ping")]
|
||||
[Summary("Ping pong !")]
|
||||
public Task PongAsync() => ReplyAsync("Pong !");
|
||||
|
||||
[Command("hey")]
|
||||
[Summary("Asks for a private channel with the bot")]
|
||||
[Alias("listen")]
|
||||
public async Task HeyAsync()
|
||||
{
|
||||
IDMChannel channel = await Context.User.GetOrCreateDMChannelAsync();
|
||||
await channel.SendMessageAsync("Your command, master ?");
|
||||
await ReplyAsync("Jude !");
|
||||
}
|
||||
#endregion Methods
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user