From 10081a044fd4dc5d56be25e96f0e65bc8781c7b7 Mon Sep 17 00:00:00 2001 From: benharri Date: Tue, 14 Mar 2017 15:23:42 -0400 Subject: [PATCH] dbg fn --- bot.php | 8 +++++++- phpbot.todo | 3 +++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/bot.php b/bot.php index e584057..1ab69f9 100644 --- a/bot.php +++ b/bot.php @@ -596,7 +596,13 @@ $discord->registerCommand('bamboozle', function($msg, $args) use ($include_in_sc ]); - +/////////////////////////////////////////////////////////// +$discord->registerCommand('dbg', function($msg, $args) use ($defs, $imgs) { + print_r($msg); +}, [ + 'description' => 'debugging... only benh can use', + 'usage' => '', +]); $discord->run(); diff --git a/phpbot.todo b/phpbot.todo index 41dfb8c..6737327 100644 --- a/phpbot.todo +++ b/phpbot.todo @@ -3,3 +3,6 @@ ☐ fix images ☐ fix ascii img ☐ fix ; search lookup thing + ☐ image rm + ☐ image mv + ☐ image increment on dupe \ No newline at end of file