2
0
mirror of https://github.com/narkoz/hacker-scripts synced 2025-08-23 10:57:13 +00:00
hacker-scripts/CSharp/SmackMyBitch.cs
Shahjada 0347b0ca02 Added Hangover.cs and implementation
Added SmackMyBitch.cs and implementation
2016-08-27 17:11:36 +06:00

36 lines
1.1 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Twilio;
namespace Hacker_Scripts
{
class SmackMyBitch
{
public static string TWILIO_ACCOUNT_SID = Environment.GetEnvironmentVariable("TWILIO_ACCOUNT_SID");
public static string AUTH_TOKEN = Environment.GetEnvironmentVariable("TWILIO_AUTH_TOKEN");
public static string YOUR_NUMBER = "9879789978";
public static string HER_NUMBER = "3213213233";
static void Main(string[] args)
{
var twilio = new TwilioRestClient(TWILIO_ACCOUNT_SID, AUTH_TOKEN);
string[] randomMessages = {
"Working hard",
"Gotta ship this feature",
"Someone fucked the system again"
};
int randomIndex = new Random().Next(randomMessages.Count());
String messageToSend = (randomMessages[randomIndex]);
var message = twilio.SendMessage(YOUR_NUMBER, HER_NUMBER, messageToSend);
Console.WriteLine(message.Sid);
}
}
}