diff --git a/MyBot/nuke.cpp b/MyBot/nuke.cpp index cd0132d..206bfb2 100644 --- a/MyBot/nuke.cpp +++ b/MyBot/nuke.cpp @@ -1,19 +1,14 @@ #include #include #include -#include -#include #include -#include -#include #include #include #include using namespace std; -using namespace std::this_thread; -using namespace std::chrono; + char prefix = { '!' }; @@ -33,9 +28,7 @@ struct versionsct int build = 0; }; -struct versionsct version = { 0,1,01 }; - - +struct versionsct version = { 0,2,01 }; Json::Value readandfetch() @@ -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() { @@ -146,10 +126,6 @@ int main() ); } - - - - for (int i = 0; i < 100; i++) { dpp::channel channel;