예제 #1
0
        public async Task Pin()
        {
            var msg = await ReplyAsync("Hello World");

            await msg.AddReactionAsync(new Emoji("😨"));

            await Context.Client.SetGameAsync("House Party");

            // NE MARCHE PAS AVEC CO DE L'EFREI NI MON TEL !!!!!!!!!!!!
            try
            {
                AudioModule am = new AudioModule((AudioService)Program._services.GetService(typeof(AudioService)), Context);
                await am.Test();
            }
            catch (Exception ex)
            {
                await ReplyAsync(ex.ToString());
            }
        }