コード例 #1
0
ファイル: MasonCommand.cs プロジェクト: msciotti/Discord-Bot
 public  async void ExecuteCommand(Channel channel, Message message)
 {
     await channel.SendIsTyping();
     Thread.Sleep(5000);
     await
         channel.SendMessage(
             "What the f**k did you just f*****g say about me, you little bitch? I’ll have you know I graduated top of my class in the Navy Seals, and I’ve been involved in numerous secret raids on Al-Quaeda, and I have over 300 confirmed kills. I am trained in gorilla warfare and I’m the top sniper in the entire US armed forces. You are nothing to me but just another target. I will wipe you the f**k out with precision the likes of which has never been seen before on this Earth, mark my f*****g words. You think you can get away with saying that shit to me over the Internet? Think again, f****r. As we speak I am contacting my secret network of spies across the USA and your IP is being traced right now so you better prepare for the storm, maggot. The storm that wipes out the pathetic little thing you call your life. You’re f*****g dead, kid. I can be anywhere, anytime, and I can kill you in over seven hundred ways, and that’s just with my bare hands. Not only am I extensively trained in unarmed combat, but I have access to the entire arsenal of the United States Marine Corps and I will use it to its full extent to wipe your miserable ass off the face of the continent, you little shit. If only you could have known what unholy retribution your little “clever” comment was about to bring down upon you, maybe you would have held your f*****g tongue. But you couldn’t, you didn’t, and now you’re paying the price, you goddamn idiot. I will shit fury all over you and you will drown in it. You’re f*****g dead, kiddo.");
 }
コード例 #2
0
ファイル: Bot.cs プロジェクト: Rock48/flux-capacitor
 private void registerSayCommand()
 {
     commands.CreateCommand("say")
     .AddCheck((cm, u, ch) => u.ServerPermissions.Administrator)
     .Parameter("channel", ParameterType.Required)
     .Parameter("message", ParameterType.Required)
     .Do(async(e) =>
     {
         Discord.Channel channel = e.Server.FindChannels(e.GetArg("channel")).FirstOrDefault();
         int delay  = 0;
         int length = e.GetArg("message").Length;
         do
         {
             delay  += 333;
             length -= 5;
         } while (length >= 5);
         await channel.SendIsTyping();
         await Task.Delay(delay);
         await channel.SendMessage(e.GetArg("message"));
         discord.Log.Log(LogSeverity.Info, "Message sent", "Send message \"" + e.GetArg("message") + "\" on guild " + e.Server.Name + ".");
     });
 }
コード例 #3
0
 public  async void ExecuteCommand(Channel channel, Message message)
 {
     await channel.SendIsTyping();
     Thread.Sleep(5000);
     await channel.SendMessage(@"Whatever kid. Oh I'm sorry did I f*****g trigger you? Were you f*****g triggered you little cry baby? F**k off. Literally saying not a f*****g word to you and you're gonna f*****g mute me because you have a problem with me just f*****g talking shit in all chat? Honestly go f**k yourself to the highest f*****g caliber you f*****g asshole. So sick of little f*****g bitches like you who f*****g have a f*****g opinion like you're f*****g sitting over there like, oh I'm some f*****g problem to you because I'm not even f*****g saying a f*****g word to you. F**k off. Call it what you f*****g asshole? Hormonal? Kid you're a f*****g bullshitter. You're a f*****g bullshitter. Go f**k yourself. You ain't f*****g nothing. You ain't f*****g anyone. You ain't got a f*****g clue in your f*****g head who I am or what I'm f*****g about. That I'm f*****g calling these f*****g kids tryhards, has your f*****g panties in a bunch for what? For what? For f*****g what kid? Honestly I'm f*****g sick of kids like you. Literally go f**k yourself. Go f**k yourself and everything that you f*****g stand for because I'm gonna tell you right now, you don't stand for shit kid. You don't stand for f*****g shit. Please. Yeah, talk in all chat. Yeah like anybody f*****g cares kid go find a f*****g friend to talk to, right? Because you can't f*****g talk to me, you can't f*****g treat me like a f*****g person. You ain't f*****g real kid. You ain't f*****g real. You ain't got a f*****g real f*****g bone in your f*****g body kid. So go f*****g all chat, and make some f*****g friends. Alright? You can make some f*****g friends because ""Oh, this guy's hormonal,"" pffft ""Uh I'm gonna mute him, "" pffft f**k off. You're literally a f*****g cancer on this f*****g world kid. Never f*****g forget it.");
 }