diff --git a/README.md b/README.md index b403d3b4..c47837a0 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # DTel V4 - + **V4 is a reworking of V3 in Typescript with better code and more features. You can't currently add it to your server but stay tuned!** diff --git a/DTel.jpeg b/assets/DTel.jpeg similarity index 100% rename from DTel.jpeg rename to assets/DTel.jpeg diff --git a/package.json b/package.json index 892410cd..6b0f9acc 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "dtel", "version": "4.0.0", "description": "A telephone bot for Discord", - "main": "index.js", + "main": "src/index.js", "scripts": { "test": "echo \"Error: we haven't set up testing yet.\" && exit 1" }, diff --git a/Commands/Call/allow.js b/src/Commands/Call/allow.js similarity index 100% rename from Commands/Call/allow.js rename to src/Commands/Call/allow.js diff --git a/Commands/Call/backdoor.js b/src/Commands/Call/backdoor.js similarity index 100% rename from Commands/Call/backdoor.js rename to src/Commands/Call/backdoor.js diff --git a/Commands/Call/cinfo.js b/src/Commands/Call/cinfo.js similarity index 100% rename from Commands/Call/cinfo.js rename to src/Commands/Call/cinfo.js diff --git a/Commands/Call/handover.js b/src/Commands/Call/handover.js similarity index 100% rename from Commands/Call/handover.js rename to src/Commands/Call/handover.js diff --git a/Commands/Call/hangup.js b/src/Commands/Call/hangup.js similarity index 100% rename from Commands/Call/hangup.js rename to src/Commands/Call/hangup.js diff --git a/Commands/Call/hold.js b/src/Commands/Call/hold.js similarity index 100% rename from Commands/Call/hold.js rename to src/Commands/Call/hold.js diff --git a/Commands/Call/ninfo.js b/src/Commands/Call/ninfo.js similarity index 100% rename from Commands/Call/ninfo.js rename to src/Commands/Call/ninfo.js diff --git a/Commands/Call/pay.js b/src/Commands/Call/pay.js similarity index 100% rename from Commands/Call/pay.js rename to src/Commands/Call/pay.js diff --git a/Commands/Call/permcheck.js b/src/Commands/Call/permcheck.js similarity index 100% rename from Commands/Call/permcheck.js rename to src/Commands/Call/permcheck.js diff --git a/Commands/Call/pickup.js b/src/Commands/Call/pickup.js similarity index 100% rename from Commands/Call/pickup.js rename to src/Commands/Call/pickup.js diff --git a/Commands/Call/status.js b/src/Commands/Call/status.js similarity index 100% rename from Commands/Call/status.js rename to src/Commands/Call/status.js diff --git a/Commands/Call/transfer.js b/src/Commands/Call/transfer.js similarity index 100% rename from Commands/Call/transfer.js rename to src/Commands/Call/transfer.js diff --git a/Commands/Private/addvip.js b/src/Commands/Private/addvip.js similarity index 100% rename from Commands/Private/addvip.js rename to src/Commands/Private/addvip.js diff --git a/Commands/Private/announce.js b/src/Commands/Private/announce.js similarity index 100% rename from Commands/Private/announce.js rename to src/Commands/Private/announce.js diff --git a/Commands/Private/assign.js b/src/Commands/Private/assign.js similarity index 100% rename from Commands/Private/assign.js rename to src/Commands/Private/assign.js diff --git a/Commands/Private/eval.js b/src/Commands/Private/eval.js similarity index 100% rename from Commands/Private/eval.js rename to src/Commands/Private/eval.js diff --git a/Commands/Private/pull.js b/src/Commands/Private/pull.js similarity index 100% rename from Commands/Private/pull.js rename to src/Commands/Private/pull.js diff --git a/Commands/Private/restart.js b/src/Commands/Private/restart.js similarity index 100% rename from Commands/Private/restart.js rename to src/Commands/Private/restart.js diff --git a/Commands/Private/stats.js b/src/Commands/Private/stats.js similarity index 100% rename from Commands/Private/stats.js rename to src/Commands/Private/stats.js diff --git a/Commands/Private/unvip.js b/src/Commands/Private/unvip.js similarity index 100% rename from Commands/Private/unvip.js rename to src/Commands/Private/unvip.js diff --git a/Commands/Public/balance.js b/src/Commands/Public/balance.js similarity index 100% rename from Commands/Public/balance.js rename to src/Commands/Public/balance.js diff --git a/Commands/Public/block.js b/src/Commands/Public/block.js similarity index 100% rename from Commands/Public/block.js rename to src/Commands/Public/block.js diff --git a/Commands/Public/call.js b/src/Commands/Public/call.js similarity index 100% rename from Commands/Public/call.js rename to src/Commands/Public/call.js diff --git a/Commands/Public/coinflip.js b/src/Commands/Public/coinflip.js similarity index 100% rename from Commands/Public/coinflip.js rename to src/Commands/Public/coinflip.js diff --git a/Commands/Public/contacts.js b/src/Commands/Public/contacts.js similarity index 100% rename from Commands/Public/contacts.js rename to src/Commands/Public/contacts.js diff --git a/Commands/Public/convert.js b/src/Commands/Public/convert.js similarity index 100% rename from Commands/Public/convert.js rename to src/Commands/Public/convert.js diff --git a/Commands/Public/daily.js b/src/Commands/Public/daily.js similarity index 100% rename from Commands/Public/daily.js rename to src/Commands/Public/daily.js diff --git a/Commands/Public/help.js b/src/Commands/Public/help.js similarity index 100% rename from Commands/Public/help.js rename to src/Commands/Public/help.js diff --git a/Commands/Public/info.js b/src/Commands/Public/info.js similarity index 100% rename from Commands/Public/info.js rename to src/Commands/Public/info.js diff --git a/Commands/Public/invite.js b/src/Commands/Public/invite.js similarity index 100% rename from Commands/Public/invite.js rename to src/Commands/Public/invite.js diff --git a/Commands/Public/links.js b/src/Commands/Public/links.js similarity index 100% rename from Commands/Public/links.js rename to src/Commands/Public/links.js diff --git a/Commands/Public/lottery.js b/src/Commands/Public/lottery.js similarity index 100% rename from Commands/Public/lottery.js rename to src/Commands/Public/lottery.js diff --git a/Commands/Public/mailbox.js b/src/Commands/Public/mailbox.js similarity index 100% rename from Commands/Public/mailbox.js rename to src/Commands/Public/mailbox.js diff --git a/Commands/Public/mention.js b/src/Commands/Public/mention.js similarity index 100% rename from Commands/Public/mention.js rename to src/Commands/Public/mention.js diff --git a/Commands/Public/message.js b/src/Commands/Public/message.js similarity index 100% rename from Commands/Public/message.js rename to src/Commands/Public/message.js diff --git a/Commands/Public/pay.js b/src/Commands/Public/pay.js similarity index 100% rename from Commands/Public/pay.js rename to src/Commands/Public/pay.js diff --git a/Commands/Public/ping.js b/src/Commands/Public/ping.js similarity index 100% rename from Commands/Public/ping.js rename to src/Commands/Public/ping.js diff --git a/Commands/Public/prefix.js b/src/Commands/Public/prefix.js similarity index 100% rename from Commands/Public/prefix.js rename to src/Commands/Public/prefix.js diff --git a/Commands/Public/promote.js b/src/Commands/Public/promote.js similarity index 100% rename from Commands/Public/promote.js rename to src/Commands/Public/promote.js diff --git a/Commands/Public/rcall.js b/src/Commands/Public/rcall.js similarity index 100% rename from Commands/Public/rcall.js rename to src/Commands/Public/rcall.js diff --git a/Commands/Public/strikes.js b/src/Commands/Public/strikes.js similarity index 100% rename from Commands/Public/strikes.js rename to src/Commands/Public/strikes.js diff --git a/Commands/Public/update.js b/src/Commands/Public/update.js similarity index 100% rename from Commands/Public/update.js rename to src/Commands/Public/update.js diff --git a/Commands/Public/upgrade.js b/src/Commands/Public/upgrade.js similarity index 100% rename from Commands/Public/upgrade.js rename to src/Commands/Public/upgrade.js diff --git a/Commands/Public/wizard.js b/src/Commands/Public/wizard.js similarity index 100% rename from Commands/Public/wizard.js rename to src/Commands/Public/wizard.js diff --git a/Commands/Support/addcredit.js b/src/Commands/Support/addcredit.js similarity index 100% rename from Commands/Support/addcredit.js rename to src/Commands/Support/addcredit.js diff --git a/Commands/Support/backdoor.js b/src/Commands/Support/backdoor.js similarity index 100% rename from Commands/Support/backdoor.js rename to src/Commands/Support/backdoor.js diff --git a/Commands/Support/blacklist.js b/src/Commands/Support/blacklist.js similarity index 100% rename from Commands/Support/blacklist.js rename to src/Commands/Support/blacklist.js diff --git a/Commands/Support/broadcast.js b/src/Commands/Support/broadcast.js similarity index 100% rename from Commands/Support/broadcast.js rename to src/Commands/Support/broadcast.js diff --git a/Commands/Support/cinfo.js b/src/Commands/Support/cinfo.js similarity index 100% rename from Commands/Support/cinfo.js rename to src/Commands/Support/cinfo.js diff --git a/Commands/Support/cshelp.js b/src/Commands/Support/cshelp.js similarity index 100% rename from Commands/Support/cshelp.js rename to src/Commands/Support/cshelp.js diff --git a/Commands/Support/deassign.js b/src/Commands/Support/deassign.js similarity index 100% rename from Commands/Support/deassign.js rename to src/Commands/Support/deassign.js diff --git a/Commands/Support/identify.js b/src/Commands/Support/identify.js similarity index 100% rename from Commands/Support/identify.js rename to src/Commands/Support/identify.js diff --git a/Commands/Support/minfo.js b/src/Commands/Support/minfo.js similarity index 100% rename from Commands/Support/minfo.js rename to src/Commands/Support/minfo.js diff --git a/Commands/Support/ninfo.js b/src/Commands/Support/ninfo.js similarity index 100% rename from Commands/Support/ninfo.js rename to src/Commands/Support/ninfo.js diff --git a/Commands/Support/permcheck.js b/src/Commands/Support/permcheck.js similarity index 100% rename from Commands/Support/permcheck.js rename to src/Commands/Support/permcheck.js diff --git a/Commands/Support/reassign.js b/src/Commands/Support/reassign.js similarity index 100% rename from Commands/Support/reassign.js rename to src/Commands/Support/reassign.js diff --git a/Commands/Support/rmstrike.js b/src/Commands/Support/rmstrike.js similarity index 100% rename from Commands/Support/rmstrike.js rename to src/Commands/Support/rmstrike.js diff --git a/Commands/Support/strike.js b/src/Commands/Support/strike.js similarity index 100% rename from Commands/Support/strike.js rename to src/Commands/Support/strike.js diff --git a/Commands/Support/uinfo.js b/src/Commands/Support/uinfo.js similarity index 100% rename from Commands/Support/uinfo.js rename to src/Commands/Support/uinfo.js diff --git a/Commands/Support/unbusy.js b/src/Commands/Support/unbusy.js similarity index 100% rename from Commands/Support/unbusy.js rename to src/Commands/Support/unbusy.js diff --git a/Commands/Support/whitelist.js b/src/Commands/Support/whitelist.js similarity index 100% rename from Commands/Support/whitelist.js rename to src/Commands/Support/whitelist.js diff --git a/Configuration/aliases.js b/src/Configuration/aliases.js similarity index 100% rename from Configuration/aliases.js rename to src/Configuration/aliases.js diff --git a/Configuration/config.js b/src/Configuration/config.js similarity index 100% rename from Configuration/config.js rename to src/Configuration/config.js diff --git a/Configuration/embeds.js b/src/Configuration/embeds.js similarity index 100% rename from Configuration/embeds.js rename to src/Configuration/embeds.js diff --git a/DTel.js b/src/DTel.js similarity index 100% rename from DTel.js rename to src/DTel.js diff --git a/Database/init.js b/src/Database/init.js similarity index 100% rename from Database/init.js rename to src/Database/init.js diff --git a/Database/modelFound.js b/src/Database/modelFound.js similarity index 100% rename from Database/modelFound.js rename to src/Database/modelFound.js diff --git a/Events/channelDelete.js b/src/Events/channelDelete.js similarity index 100% rename from Events/channelDelete.js rename to src/Events/channelDelete.js diff --git a/Events/guildCreate.js b/src/Events/guildCreate.js similarity index 100% rename from Events/guildCreate.js rename to src/Events/guildCreate.js diff --git a/Events/guildDelete.js b/src/Events/guildDelete.js similarity index 100% rename from Events/guildDelete.js rename to src/Events/guildDelete.js diff --git a/Events/guildMemberRemove.js b/src/Events/guildMemberRemove.js similarity index 100% rename from Events/guildMemberRemove.js rename to src/Events/guildMemberRemove.js diff --git a/Events/guildMemberUpdate.js b/src/Events/guildMemberUpdate.js similarity index 100% rename from Events/guildMemberUpdate.js rename to src/Events/guildMemberUpdate.js diff --git a/Events/message.js b/src/Events/message.js similarity index 100% rename from Events/message.js rename to src/Events/message.js diff --git a/Events/messageUpdate.js b/src/Events/messageUpdate.js similarity index 100% rename from Events/messageUpdate.js rename to src/Events/messageUpdate.js diff --git a/Events/ready.js b/src/Events/ready.js similarity index 100% rename from Events/ready.js rename to src/Events/ready.js diff --git a/Events/typingStart.js b/src/Events/typingStart.js similarity index 100% rename from Events/typingStart.js rename to src/Events/typingStart.js diff --git a/Internals/233.js b/src/Internals/233.js similarity index 100% rename from Internals/233.js rename to src/Internals/233.js diff --git a/Internals/411.js b/src/Internals/411.js similarity index 100% rename from Internals/411.js rename to src/Internals/411.js diff --git a/Internals/Cache.js b/src/Internals/Cache.js similarity index 100% rename from Internals/Cache.js rename to src/Internals/Cache.js diff --git a/Internals/Client.js b/src/Internals/Client.js similarity index 100% rename from Internals/Client.js rename to src/Internals/Client.js diff --git a/Internals/callHandler.js b/src/Internals/callHandler.js similarity index 100% rename from Internals/callHandler.js rename to src/Internals/callHandler.js diff --git a/Internals/jobs.js b/src/Internals/jobs.js similarity index 100% rename from Internals/jobs.js rename to src/Internals/jobs.js diff --git a/Internals/modules.js b/src/Internals/modules.js similarity index 100% rename from Internals/modules.js rename to src/Internals/modules.js diff --git a/Structures/DTelChannels.js b/src/Structures/DTelChannels.js similarity index 100% rename from Structures/DTelChannels.js rename to src/Structures/DTelChannels.js diff --git a/Structures/DTelGuild.js b/src/Structures/DTelGuild.js similarity index 100% rename from Structures/DTelGuild.js rename to src/Structures/DTelGuild.js diff --git a/Structures/DTelUser.js b/src/Structures/DTelUser.js similarity index 100% rename from Structures/DTelUser.js rename to src/Structures/DTelUser.js diff --git a/embed.js b/src/embed.js similarity index 100% rename from embed.js rename to src/embed.js diff --git a/index.js b/src/index.js similarity index 100% rename from index.js rename to src/index.js