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:
2019-05-29 22:50:41 +02:00
parent e75cb67fe7
commit e97e40e7f3
14 changed files with 645 additions and 65 deletions

View File

@ -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
}
}