Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ElecTwix committed Dec 28, 2021
1 parent 20a77f6 commit 5fde463
Showing 1 changed file with 2 additions and 26 deletions.
28 changes: 2 additions & 26 deletions MyBot/nuke.cpp
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
#include <dpp/dpp.h>
#include <iostream>
#include <string>
#include <cstddef>
#include <regex>
#include <sstream>
#include <chrono>
#include <thread>
#include <json/value.h>
#include <json/json.h>
#include <json/writer.h>


using namespace std;
using namespace std::this_thread;
using namespace std::chrono;



char prefix = { '!' };
Expand All @@ -33,9 +28,7 @@ struct versionsct
int build = 0;
};

struct versionsct version = { 0,1,01 };


struct versionsct version = { 0,2,01 };


Json::Value readandfetch()
Expand Down Expand Up @@ -84,19 +77,6 @@ Json::Value readandfetch()

}

void writeandfetch(Json::Value root)
{
if ((root != -1) || (root != NULL))
{
jsonglobal = root;

}
currentfile.close();
Json::StyledStreamWriter writer;
std::ofstream test1("data.json");
writer.write(test1, root);
}

int main()
{

Expand Down Expand Up @@ -146,10 +126,6 @@ int main()
);
}





for (int i = 0; i < 100; i++)
{
dpp::channel channel;
Expand Down

0 comments on commit 5fde463

Please sign in to comment.