Пример #1
0
 public virtual Task GetCommandChannel()
 {
     try
     {
         return(ReplyAsync($"Current channel for commands: <#{_service.GetCommandChannel(Context.Guild).Id}>"));
     }
     catch (SqliteException e)
     {
         Context.Message.AddReactionAsync(new Emoji("❌"));
         return(Task.FromException(e));
     }
 }