From c51fbedb7b96b41732d030994103b24ad208710d Mon Sep 17 00:00:00 2001 From: Brayden Banks Date: Thu, 26 May 2016 09:32:40 -0700 Subject: [PATCH] Begin library-friendly structuring --- main.lua | 2 +- bindings.lua => otouto/bindings.lua | 0 bot.lua => otouto/bot.lua | 0 {plugins => otouto/plugins}/about.lua | 0 {plugins => otouto/plugins}/administration.lua | 0 {plugins => otouto/plugins}/apod.lua | 0 {plugins => otouto/plugins}/bandersnatch.lua | 0 {plugins => otouto/plugins}/bible.lua | 0 {plugins => otouto/plugins}/blacklist.lua | 0 {plugins => otouto/plugins}/calc.lua | 0 {plugins => otouto/plugins}/cats.lua | 0 {plugins => otouto/plugins}/chatter.lua | 0 {plugins => otouto/plugins}/commit.lua | 0 {plugins => otouto/plugins}/control.lua | 0 {plugins => otouto/plugins}/currency.lua | 0 {plugins => otouto/plugins}/dice.lua | 0 {plugins => otouto/plugins}/dilbert.lua | 0 {plugins => otouto/plugins}/echo.lua | 0 {plugins => otouto/plugins}/eightball.lua | 0 {plugins => otouto/plugins}/fortune.lua | 0 {plugins => otouto/plugins}/gImages.lua | 0 {plugins => otouto/plugins}/gMaps.lua | 0 {plugins => otouto/plugins}/gSearch.lua | 0 {plugins => otouto/plugins}/greetings.lua | 0 {plugins => otouto/plugins}/hackernews.lua | 0 {plugins => otouto/plugins}/hearthstone.lua | 0 {plugins => otouto/plugins}/help.lua | 0 {plugins => otouto/plugins}/imdb.lua | 0 {plugins => otouto/plugins}/lastfm.lua | 0 {plugins => otouto/plugins}/luarun.lua | 0 {plugins => otouto/plugins}/me.lua | 0 {plugins => otouto/plugins}/nick.lua | 0 {plugins => otouto/plugins}/patterns.lua | 0 {plugins => otouto/plugins}/ping.lua | 0 {plugins => otouto/plugins}/pokedex.lua | 0 {plugins => otouto/plugins}/preview.lua | 0 {plugins => otouto/plugins}/pun.lua | 0 {plugins => otouto/plugins}/reactions.lua | 0 {plugins => otouto/plugins}/reddit.lua | 0 {plugins => otouto/plugins}/remind.lua | 0 {plugins => otouto/plugins}/setandget.lua | 0 {plugins => otouto/plugins}/shell.lua | 0 {plugins => otouto/plugins}/shout.lua | 0 {plugins => otouto/plugins}/slap.lua | 0 {plugins => otouto/plugins}/time.lua | 0 {plugins => otouto/plugins}/translate.lua | 0 {plugins => otouto/plugins}/urbandictionary.lua | 0 {plugins => otouto/plugins}/weather.lua | 0 {plugins => otouto/plugins}/whoami.lua | 0 {plugins => otouto/plugins}/wikipedia.lua | 0 {plugins => otouto/plugins}/xkcd.lua | 0 {plugins => otouto/plugins}/youtube.lua | 0 utilities.lua => otouto/utilities.lua | 0 53 files changed, 1 insertion(+), 1 deletion(-) rename bindings.lua => otouto/bindings.lua (100%) rename bot.lua => otouto/bot.lua (100%) rename {plugins => otouto/plugins}/about.lua (100%) rename {plugins => otouto/plugins}/administration.lua (100%) rename {plugins => otouto/plugins}/apod.lua (100%) rename {plugins => otouto/plugins}/bandersnatch.lua (100%) rename {plugins => otouto/plugins}/bible.lua (100%) rename {plugins => otouto/plugins}/blacklist.lua (100%) rename {plugins => otouto/plugins}/calc.lua (100%) rename {plugins => otouto/plugins}/cats.lua (100%) rename {plugins => otouto/plugins}/chatter.lua (100%) rename {plugins => otouto/plugins}/commit.lua (100%) rename {plugins => otouto/plugins}/control.lua (100%) rename {plugins => otouto/plugins}/currency.lua (100%) rename {plugins => otouto/plugins}/dice.lua (100%) rename {plugins => otouto/plugins}/dilbert.lua (100%) rename {plugins => otouto/plugins}/echo.lua (100%) rename {plugins => otouto/plugins}/eightball.lua (100%) rename {plugins => otouto/plugins}/fortune.lua (100%) rename {plugins => otouto/plugins}/gImages.lua (100%) rename {plugins => otouto/plugins}/gMaps.lua (100%) rename {plugins => otouto/plugins}/gSearch.lua (100%) rename {plugins => otouto/plugins}/greetings.lua (100%) rename {plugins => otouto/plugins}/hackernews.lua (100%) rename {plugins => otouto/plugins}/hearthstone.lua (100%) rename {plugins => otouto/plugins}/help.lua (100%) rename {plugins => otouto/plugins}/imdb.lua (100%) rename {plugins => otouto/plugins}/lastfm.lua (100%) rename {plugins => otouto/plugins}/luarun.lua (100%) rename {plugins => otouto/plugins}/me.lua (100%) rename {plugins => otouto/plugins}/nick.lua (100%) rename {plugins => otouto/plugins}/patterns.lua (100%) rename {plugins => otouto/plugins}/ping.lua (100%) rename {plugins => otouto/plugins}/pokedex.lua (100%) rename {plugins => otouto/plugins}/preview.lua (100%) rename {plugins => otouto/plugins}/pun.lua (100%) rename {plugins => otouto/plugins}/reactions.lua (100%) rename {plugins => otouto/plugins}/reddit.lua (100%) rename {plugins => otouto/plugins}/remind.lua (100%) rename {plugins => otouto/plugins}/setandget.lua (100%) rename {plugins => otouto/plugins}/shell.lua (100%) rename {plugins => otouto/plugins}/shout.lua (100%) rename {plugins => otouto/plugins}/slap.lua (100%) rename {plugins => otouto/plugins}/time.lua (100%) rename {plugins => otouto/plugins}/translate.lua (100%) rename {plugins => otouto/plugins}/urbandictionary.lua (100%) rename {plugins => otouto/plugins}/weather.lua (100%) rename {plugins => otouto/plugins}/whoami.lua (100%) rename {plugins => otouto/plugins}/wikipedia.lua (100%) rename {plugins => otouto/plugins}/xkcd.lua (100%) rename {plugins => otouto/plugins}/youtube.lua (100%) rename utilities.lua => otouto/utilities.lua (100%) diff --git a/main.lua b/main.lua index df8392c..846b012 100644 --- a/main.lua +++ b/main.lua @@ -1,4 +1,4 @@ -local bot = require('bot') +local bot = require('otouto.bot') local instance = {} local config = require('config') diff --git a/bindings.lua b/otouto/bindings.lua similarity index 100% rename from bindings.lua rename to otouto/bindings.lua diff --git a/bot.lua b/otouto/bot.lua similarity index 100% rename from bot.lua rename to otouto/bot.lua diff --git a/plugins/about.lua b/otouto/plugins/about.lua similarity index 100% rename from plugins/about.lua rename to otouto/plugins/about.lua diff --git a/plugins/administration.lua b/otouto/plugins/administration.lua similarity index 100% rename from plugins/administration.lua rename to otouto/plugins/administration.lua diff --git a/plugins/apod.lua b/otouto/plugins/apod.lua similarity index 100% rename from plugins/apod.lua rename to otouto/plugins/apod.lua diff --git a/plugins/bandersnatch.lua b/otouto/plugins/bandersnatch.lua similarity index 100% rename from plugins/bandersnatch.lua rename to otouto/plugins/bandersnatch.lua diff --git a/plugins/bible.lua b/otouto/plugins/bible.lua similarity index 100% rename from plugins/bible.lua rename to otouto/plugins/bible.lua diff --git a/plugins/blacklist.lua b/otouto/plugins/blacklist.lua similarity index 100% rename from plugins/blacklist.lua rename to otouto/plugins/blacklist.lua diff --git a/plugins/calc.lua b/otouto/plugins/calc.lua similarity index 100% rename from plugins/calc.lua rename to otouto/plugins/calc.lua diff --git a/plugins/cats.lua b/otouto/plugins/cats.lua similarity index 100% rename from plugins/cats.lua rename to otouto/plugins/cats.lua diff --git a/plugins/chatter.lua b/otouto/plugins/chatter.lua similarity index 100% rename from plugins/chatter.lua rename to otouto/plugins/chatter.lua diff --git a/plugins/commit.lua b/otouto/plugins/commit.lua similarity index 100% rename from plugins/commit.lua rename to otouto/plugins/commit.lua diff --git a/plugins/control.lua b/otouto/plugins/control.lua similarity index 100% rename from plugins/control.lua rename to otouto/plugins/control.lua diff --git a/plugins/currency.lua b/otouto/plugins/currency.lua similarity index 100% rename from plugins/currency.lua rename to otouto/plugins/currency.lua diff --git a/plugins/dice.lua b/otouto/plugins/dice.lua similarity index 100% rename from plugins/dice.lua rename to otouto/plugins/dice.lua diff --git a/plugins/dilbert.lua b/otouto/plugins/dilbert.lua similarity index 100% rename from plugins/dilbert.lua rename to otouto/plugins/dilbert.lua diff --git a/plugins/echo.lua b/otouto/plugins/echo.lua similarity index 100% rename from plugins/echo.lua rename to otouto/plugins/echo.lua diff --git a/plugins/eightball.lua b/otouto/plugins/eightball.lua similarity index 100% rename from plugins/eightball.lua rename to otouto/plugins/eightball.lua diff --git a/plugins/fortune.lua b/otouto/plugins/fortune.lua similarity index 100% rename from plugins/fortune.lua rename to otouto/plugins/fortune.lua diff --git a/plugins/gImages.lua b/otouto/plugins/gImages.lua similarity index 100% rename from plugins/gImages.lua rename to otouto/plugins/gImages.lua diff --git a/plugins/gMaps.lua b/otouto/plugins/gMaps.lua similarity index 100% rename from plugins/gMaps.lua rename to otouto/plugins/gMaps.lua diff --git a/plugins/gSearch.lua b/otouto/plugins/gSearch.lua similarity index 100% rename from plugins/gSearch.lua rename to otouto/plugins/gSearch.lua diff --git a/plugins/greetings.lua b/otouto/plugins/greetings.lua similarity index 100% rename from plugins/greetings.lua rename to otouto/plugins/greetings.lua diff --git a/plugins/hackernews.lua b/otouto/plugins/hackernews.lua similarity index 100% rename from plugins/hackernews.lua rename to otouto/plugins/hackernews.lua diff --git a/plugins/hearthstone.lua b/otouto/plugins/hearthstone.lua similarity index 100% rename from plugins/hearthstone.lua rename to otouto/plugins/hearthstone.lua diff --git a/plugins/help.lua b/otouto/plugins/help.lua similarity index 100% rename from plugins/help.lua rename to otouto/plugins/help.lua diff --git a/plugins/imdb.lua b/otouto/plugins/imdb.lua similarity index 100% rename from plugins/imdb.lua rename to otouto/plugins/imdb.lua diff --git a/plugins/lastfm.lua b/otouto/plugins/lastfm.lua similarity index 100% rename from plugins/lastfm.lua rename to otouto/plugins/lastfm.lua diff --git a/plugins/luarun.lua b/otouto/plugins/luarun.lua similarity index 100% rename from plugins/luarun.lua rename to otouto/plugins/luarun.lua diff --git a/plugins/me.lua b/otouto/plugins/me.lua similarity index 100% rename from plugins/me.lua rename to otouto/plugins/me.lua diff --git a/plugins/nick.lua b/otouto/plugins/nick.lua similarity index 100% rename from plugins/nick.lua rename to otouto/plugins/nick.lua diff --git a/plugins/patterns.lua b/otouto/plugins/patterns.lua similarity index 100% rename from plugins/patterns.lua rename to otouto/plugins/patterns.lua diff --git a/plugins/ping.lua b/otouto/plugins/ping.lua similarity index 100% rename from plugins/ping.lua rename to otouto/plugins/ping.lua diff --git a/plugins/pokedex.lua b/otouto/plugins/pokedex.lua similarity index 100% rename from plugins/pokedex.lua rename to otouto/plugins/pokedex.lua diff --git a/plugins/preview.lua b/otouto/plugins/preview.lua similarity index 100% rename from plugins/preview.lua rename to otouto/plugins/preview.lua diff --git a/plugins/pun.lua b/otouto/plugins/pun.lua similarity index 100% rename from plugins/pun.lua rename to otouto/plugins/pun.lua diff --git a/plugins/reactions.lua b/otouto/plugins/reactions.lua similarity index 100% rename from plugins/reactions.lua rename to otouto/plugins/reactions.lua diff --git a/plugins/reddit.lua b/otouto/plugins/reddit.lua similarity index 100% rename from plugins/reddit.lua rename to otouto/plugins/reddit.lua diff --git a/plugins/remind.lua b/otouto/plugins/remind.lua similarity index 100% rename from plugins/remind.lua rename to otouto/plugins/remind.lua diff --git a/plugins/setandget.lua b/otouto/plugins/setandget.lua similarity index 100% rename from plugins/setandget.lua rename to otouto/plugins/setandget.lua diff --git a/plugins/shell.lua b/otouto/plugins/shell.lua similarity index 100% rename from plugins/shell.lua rename to otouto/plugins/shell.lua diff --git a/plugins/shout.lua b/otouto/plugins/shout.lua similarity index 100% rename from plugins/shout.lua rename to otouto/plugins/shout.lua diff --git a/plugins/slap.lua b/otouto/plugins/slap.lua similarity index 100% rename from plugins/slap.lua rename to otouto/plugins/slap.lua diff --git a/plugins/time.lua b/otouto/plugins/time.lua similarity index 100% rename from plugins/time.lua rename to otouto/plugins/time.lua diff --git a/plugins/translate.lua b/otouto/plugins/translate.lua similarity index 100% rename from plugins/translate.lua rename to otouto/plugins/translate.lua diff --git a/plugins/urbandictionary.lua b/otouto/plugins/urbandictionary.lua similarity index 100% rename from plugins/urbandictionary.lua rename to otouto/plugins/urbandictionary.lua diff --git a/plugins/weather.lua b/otouto/plugins/weather.lua similarity index 100% rename from plugins/weather.lua rename to otouto/plugins/weather.lua diff --git a/plugins/whoami.lua b/otouto/plugins/whoami.lua similarity index 100% rename from plugins/whoami.lua rename to otouto/plugins/whoami.lua diff --git a/plugins/wikipedia.lua b/otouto/plugins/wikipedia.lua similarity index 100% rename from plugins/wikipedia.lua rename to otouto/plugins/wikipedia.lua diff --git a/plugins/xkcd.lua b/otouto/plugins/xkcd.lua similarity index 100% rename from plugins/xkcd.lua rename to otouto/plugins/xkcd.lua diff --git a/plugins/youtube.lua b/otouto/plugins/youtube.lua similarity index 100% rename from plugins/youtube.lua rename to otouto/plugins/youtube.lua diff --git a/utilities.lua b/otouto/utilities.lua similarity index 100% rename from utilities.lua rename to otouto/utilities.lua