aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/modules/bot.sloth7
-rw-r--r--examples/modules/mod.sloth15
2 files changed, 0 insertions, 22 deletions
diff --git a/examples/modules/bot.sloth b/examples/modules/bot.sloth
deleted file mode 100644
index 1355ddb..0000000
--- a/examples/modules/bot.sloth
+++ /dev/null
@@ -1,7 +0,0 @@
-use slowcord::DiscordBot;
-
-pub type Bot;
-
-impl DiscordBot for Bot {
- # TODO:
-}
diff --git a/examples/modules/mod.sloth b/examples/modules/mod.sloth
deleted file mode 100644
index 75be7e1..0000000
--- a/examples/modules/mod.sloth
+++ /dev/null
@@ -1,15 +0,0 @@
-# Root module - Run this to start program
-
-pub use extern "logging";
-pub use extern "dotenv";
-pub use extern "slowcord";
-pub use extern "sqlite";
-
-use logging::LogLevel;
-use bot::Bot;
-
-logging::set_loglevel(LogLevel::WARN);
-
-val token = dotenv::get("TOKEN");
-val bot = Bot::new();
-bot.start(token);