✅ My Discord multitool webhook thingy broken💔

i made a discord multitool which allows you to send messages thru a bot using a webhook. The thing is after the webhook message is sent, i want it like redo the whole webhook code and ask me again for the webhook url and another message. But my problem is that after the message is sent it automatically kinda redirects me to the menu 😦 ik this is very badly explained (english isnt my first lang)
30 Replies
FusedQyou
FusedQyou5d ago
$code
MODiX
MODiX5d ago
To post C# code type the following: ```cs // code here ``` Get an example by typing $codegif in chat For longer snippets, use: https://paste.mod.gg/
bomboclatt🎀
bomboclatt🎀OP5d ago
$codegif
bomboclatt🎀
bomboclatt🎀OP5d ago
the whole whole code? its a whole multitool
FusedQyou
FusedQyou5d ago
idk Your code broke I would not know what to look at
bomboclatt🎀
bomboclatt🎀OP5d ago
aight lmfao i cant enter the code
FusedQyou
FusedQyou5d ago
If you don't know what to share you should debug what part of the code is relevant Read the bot message
bomboclatt🎀
bomboclatt🎀OP5d ago
static async void webhookMessage()
{

{

{
Console.Clear();
Console.ForegroundColor = ConsoleColor.Cyan;
Console.Write("Webhook Url:");
Console.ForegroundColor = ConsoleColor.DarkCyan;
string webhook = Console.ReadLine();

Console.ForegroundColor = ConsoleColor.Cyan;
Console.Write("Message:");
string message = Console.ReadLine();
Console.ForegroundColor = ConsoleColor.DarkCyan;
string json = $"{{\"content\":\"{message}\"}}";

Console.ForegroundColor = ConsoleColor.Red;
Console.WriteLine("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nClick 4 for return!");




using (HttpClient client = new HttpClient())
{

HttpContent content = new StringContent(json, Encoding.UTF8, "application/json");
await client.PostAsync(webhook, content);
Console.ForegroundColor = ConsoleColor.Red;

ConsoleKeyInfo input = Console.ReadKey();
char option = input.KeyChar;
Console.WriteLine(option);
switch (option)
{
case '4':
return;
}
}


}
}
static async void webhookMessage()
{

{

{
Console.Clear();
Console.ForegroundColor = ConsoleColor.Cyan;
Console.Write("Webhook Url:");
Console.ForegroundColor = ConsoleColor.DarkCyan;
string webhook = Console.ReadLine();

Console.ForegroundColor = ConsoleColor.Cyan;
Console.Write("Message:");
string message = Console.ReadLine();
Console.ForegroundColor = ConsoleColor.DarkCyan;
string json = $"{{\"content\":\"{message}\"}}";

Console.ForegroundColor = ConsoleColor.Red;
Console.WriteLine("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nClick 4 for return!");




using (HttpClient client = new HttpClient())
{

HttpContent content = new StringContent(json, Encoding.UTF8, "application/json");
await client.PostAsync(webhook, content);
Console.ForegroundColor = ConsoleColor.Red;

ConsoleKeyInfo input = Console.ReadKey();
char option = input.KeyChar;
Console.WriteLine(option);
switch (option)
{
case '4':
return;
}
}


}
}
im SOOO cooked in c# 💔 theres more ig
FusedQyou
FusedQyou5d ago
Where is the menu?
bomboclatt🎀
bomboclatt🎀OP5d ago
static void Main(string[] args)

{
while (true)
{
Console.Clear();
Console.Title = "Discord Webhook Spammer -@anispark";
Banner();
Menu();
ConsoleKeyInfo input = Console.ReadKey();
char option = input.KeyChar;
Console.WriteLine(option);
switch (option)
{
case '1':

WebhookMessage();
break;

case '2':
webhookMessage();
break;




}
}
static void Main(string[] args)

{
while (true)
{
Console.Clear();
Console.Title = "Discord Webhook Spammer -@anispark";
Banner();
Menu();
ConsoleKeyInfo input = Console.ReadKey();
char option = input.KeyChar;
Console.WriteLine(option);
switch (option)
{
case '1':

WebhookMessage();
break;

case '2':
webhookMessage();
break;




}
}
this is only part of the code the entire code is 165 lines long i use vss
Sehra
Sehra5d ago
"Discord Webhook Spammer" is this a good thing?
bomboclatt🎀
bomboclatt🎀OP5d ago
i just made it for fun 🥰🥰
bomboclatt🎀
bomboclatt🎀OP5d ago
No description
FusedQyou
FusedQyou5d ago
Please just share all the code using paste sites because I doubt you still send all of it
bomboclatt🎀
bomboclatt🎀OP5d ago
ok here's ALL the code damn wait
FusedQyou
FusedQyou5d ago
No description
FusedQyou
FusedQyou5d ago
No description
bomboclatt🎀
bomboclatt🎀OP5d ago
mb i joined this server 15 mins ago 😭😭 idk how ANYTHING works
FusedQyou
FusedQyou5d ago
That's fine but I kind of send it twice
bomboclatt🎀
bomboclatt🎀OP5d ago
BlazeBin - vsrmvssrdtuh
A tool for sharing your source code with the world!
bomboclatt🎀
bomboclatt🎀OP5d ago
very scuffed ik 💔
bomboclatt🎀
bomboclatt🎀OP5d ago
No description
bomboclatt🎀
bomboclatt🎀OP5d ago
it looks like dis btw :3 forgot to change the 2.) text
Unknown User
Unknown User5d ago
Message Not Public
Sign In & Join Server To View
tannergooding
tannergooding5d ago
they're banned already
Unknown User
Unknown User5d ago
Message Not Public
Sign In & Join Server To View
tannergooding
tannergooding5d ago
!note 1247875332850192454 more problematic comments were found post ban I'll close this, since it won't go anywhere else
Nasdack
Nasdack4d ago
lmaooo this has got to be a troll

Did you find this page helpful?