Beispiel #1
0
 public async Task PrefixUpdateAsync([Remainder, Summary("The prefix to use")] string prefix)
 {
     try
     {
         await MessageHelper.Success(Context, "Success",
                                     await PrefixHelper.Update(Context.Channel as SocketGuildChannel, prefix));
     }
     catch (Exception e)
     {
         await MessageHelper.Failure(Context, "Failure", e.Message);
     }
 }