SHARE
TWEET

MEE6 cheatbot

a guest Mar 24th, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using Discord.Commands;
  2. using System;
  3. using Discord.WebSocket;
  4. using Discord;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading;
  9. using System.Threading.Tasks;
  10.  
  11. namespace MEE6_cheatbot
  12. {
  13.     class Program
  14.     {
  15.         public static async Task SendMessage()
  16.         {
  17.             Thread.Sleep(20);
  18.             await chnl.SendMessageAsync("Flex");
  19.  
  20.         }
  21.         static IMessageChannel chnl;
  22.         //my token Mjg3NjQyNjc1ODkxNjY2OTQ0.DuRHZg.LURsWFOttc_GY6pp7encBAoPd_k
  23.         static void Main(string[] args)
  24.         {
  25.             DiscordSocketClient _client = new DiscordSocketClient();
  26.             _client.LoginAsync(TokenType.Webhook, "Mjg3NjQyNjc1ODkxNjY2OTQ0.DuRHZg.LURsWFOttc_GY6pp7encBAoPd_k");
  27.  
  28.  
  29.             chnl = _client.GetChannel(559449643348656128) as IMessageChannel;
  30.  
  31.             Console.WriteLine("How many minutes should the bot run?");
  32.             int anz_mins = int.Parse(Console.ReadLine());
  33.             for (int i = 0; i < anz_mins; i++)
  34.             {
  35.                 SendMessage();
  36.  
  37.                 Console.WriteLine("Messages wrote: " + (i + 1));
  38.                 Console.WriteLine("Messages left to be written: " + (anz_mins - i - 1));
  39.  
  40.                 Thread.Sleep(1000);
  41.             }
  42.            
  43.             Console.ReadKey(true);
  44.         }
  45.        
  46.     }
  47. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top