summaryrefslogtreecommitdiff
path: root/scripts/core
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/core')
-rw-r--r--scripts/core/bot.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/core/bot.php b/scripts/core/bot.php
new file mode 100644
index 0000000..b3a7688
--- /dev/null
+++ b/scripts/core/bot.php
@@ -0,0 +1,10 @@
+<?php
+
+require __DIR__.'/../../vendor/autoload.php';
+
+use FBeans\Beansbot\Bot\Application;
+
+$app = (new Application)
+ ->fromStdin()
+ ->toConsole()
+ ->run();