summaryrefslogtreecommitdiff
path: root/scripts/core/bot.php
diff options
context:
space:
mode:
authorFbenas <philbeansburton@gmail.com>2020-06-14 20:58:52 +0100
committerFbenas <philbeansburton@gmail.com>2020-06-14 20:58:52 +0100
commit7772843630f82f0028893057adad65de6516b110 (patch)
tree663e7d066ae5c2924a96208121d36826c4ab3785 /scripts/core/bot.php
parent63abf135263107feb9fa77c70c4ffd48abe6f010 (diff)
Add composer and a core bot scriptHEADmaster
Diffstat (limited to 'scripts/core/bot.php')
-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();