Exemplo n.º 1
0
 public static async Task BusyIndicator(this ICommandContext ctx, Func <Task> f, string emoji = "\u23f3" /* hourglass */)
 {
     await ctx.BusyIndicator <object>(async() =>
     {
         await f();
         return(null);
     }, emoji);
 }