Exemplo n.º 1
0
        public static void ClientConnected(object sender, DiscordConnectEventArgs e)
        {
            List <DiscordServer> servers = bot.GetServersList();

            Logger.LogActualServerTree(servers);
        }
Exemplo n.º 2
0
 public static void LogConnection(object sender, DiscordConnectEventArgs e)
 {
     Console.ForegroundColor = ConsoleColor.Green;
     Console.WriteLine("[CONNECTED]" + e.User.Username);
     Console.ResetColor();
 }
Exemplo n.º 3
0
 void OnConnected(object sender, DiscordConnectEventArgs e)
 {
     _client.UpdateBotStatus(true);
 }
Exemplo n.º 4
0
 private static void _client_Connected(object sender, DiscordConnectEventArgs e)
 {
     Console.WriteLine($"Connected as user \"{e.user.Username}\"");
 }