diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index d742cbb4..e9d6a9d0 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -9,4 +9,4 @@ community_bridge: # Replace with a single Community Bridge project-name e.g., cl liberapay: # Replace with a single Liberapay username issuehunt: # Replace with a single IssueHunt username otechie: # Replace with a single Otechie username -custom: http://discordtel.austinhuang.me/en/latest/Payment/#donation +custom: http://dtel.austinhuang.me/en/latest/Payment/#donation diff --git a/Commands/Public/balance.js b/Commands/Public/balance.js index 52dedf42..b254286f 100644 --- a/Commands/Public/balance.js +++ b/Commands/Public/balance.js @@ -22,7 +22,7 @@ module.exports = async(client, msg, suffix) => { }, { name: "Recharging", - value: "http://discordtel.readthedocs.io/en/latest/Payment/", + value: "https://dtel.austinhuang.me/en/latest/Payment/", }], }, }); @@ -56,7 +56,7 @@ module.exports = async(client, msg, suffix) => { }, { name: "Recharging", - value: "http://discordtel.readthedocs.io/en/latest/Payment/", + value: "https://dtel.austinhuang.me/en/latest/Payment/", }], }, }); diff --git a/Commands/Public/help.js b/Commands/Public/help.js index 00c50e97..74d98046 100644 --- a/Commands/Public/help.js +++ b/Commands/Public/help.js @@ -7,7 +7,7 @@ module.exports = async(client, msg, suffix) => { author: { name: client.user.username, icon_url: avatarURL, - url: "https://discordtel.austinhuang.me", + url: "https://dtel.austinhuang.me", }, title: "List of Commands", description: "For more information, use `>info`, `>links` or call customer support: `>dial *611`.", @@ -46,7 +46,7 @@ module.exports = async(client, msg, suffix) => { }, { name: "Currency commands", - value: "More information about the currency [here](http://discordtel.austinhuang.me/en/latest/Payment/).\n• `>dial *233`: Renew your number registration using credits.\n• `>convert`: Convert your credits into other bot currency via [Discoin](https://discoin.gitbook.io/docs/users-guide).\n• `>daily`: Get daily credits.\n• `>vote`: Vote for us to get more credits!\n• `>pay`: Send money to others (Fees apply).\n• `>lottery`: Daily jackpot!", + value: "More information about the currency [here](http://dtel.austinhuang.me/en/latest/Payment/).\n• `>dial *233`: Renew your number registration using credits.\n• `>convert`: Convert your credits into other bot currency via [Discoin](https://discoin.gitbook.io/docs/users-guide).\n• `>daily`: Get daily credits.\n• `>vote`: Vote for us to get more credits!\n• `>pay`: Send money to others (Fees apply).\n• `>lottery`: Daily jackpot!", }, { name: "Mailbox commands", diff --git a/Commands/Public/info.js b/Commands/Public/info.js index 09eadd34..afff5a61 100644 --- a/Commands/Public/info.js +++ b/Commands/Public/info.js @@ -6,7 +6,7 @@ module.exports = async(client, msg, suffix) => { author: { name: "DTel", icon_url: client.user.displayAvatarURL(), - url: "https://discordtel.austinhuang.me", + url: "https://dtel.austinhuang.me", }, title: "📖 DTel Information", description: `For command help, use \`>help\`. More detailed documentation is available at [my website](${config.siteLink}).`, diff --git a/Commands/Public/links.js b/Commands/Public/links.js index 2e7e365a..2912c072 100644 --- a/Commands/Public/links.js +++ b/Commands/Public/links.js @@ -6,7 +6,7 @@ module.exports = async(client, msg, suffix) => { author: { name: client.user.username, icon_url: avatarURL, - url: "https://discordtel.austinhuang.me", + url: "https://dtel.austinhuang.me", }, title: "List of *all* the links", fields: [ diff --git a/Commands/Public/wizard.js b/Commands/Public/wizard.js index a7c052b8..a5e5714b 100644 --- a/Commands/Public/wizard.js +++ b/Commands/Public/wizard.js @@ -26,11 +26,11 @@ module.exports = async(client, msg, suffix) => { ) .addField( "Documentation and TOS", - `The documentation is located at ${config.siteLink}. **Please read it** as it contains important information, like DTel's [Privacy Policy](https://discordtel.austinhuang.me/en/latest/Privacy/).`, + `The documentation is located at ${config.siteLink}. **Please read it** as it contains important information, like DTel's [Privacy Policy](https://dtel.austinhuang.me/en/latest/Privacy/).`, ) .addField( "Payment", - `To keep using your number, you must renew it each month. The number will cost **${config.renewalRate}** credits (the bot's currency) per month. Don't worry, the first month is free! Renewals can be automatically performed (from the SERVER OWNER's account) or through \`>dial *233\`. See [here](https://discordtel.austinhuang.me/en/latest/Payment/) for ways to get credits. **No IRL purchase is required to use this bot or renew your number!**`, + `To keep using your number, you must renew it each month. The number will cost **${config.renewalRate}** credits (the bot's currency) per month. Don't worry, the first month is free! Renewals can be automatically performed (from the SERVER OWNER's account) or through \`>dial *233\`. See [here](https://dtel.austinhuang.me/en/latest/Payment/) for ways to get credits. **No IRL purchase is required to use this bot or renew your number!**`, ) .addField( "I'm done reading!", diff --git a/Commands/Support/cshelp.js b/Commands/Support/cshelp.js index 69baa922..34aa75ea 100644 --- a/Commands/Support/cshelp.js +++ b/Commands/Support/cshelp.js @@ -6,7 +6,7 @@ module.exports = async(client, msg, suffix) => { author: { name: client.user.username, icon_url: avatarURL, - url: "https://discordtel.austinhuang.me", + url: "https://dtel.austinhuang.me", }, title: "List of Customer Support Commands", description: `For more information... actually read the [CS Documentation](${config.guidelink}), you dumbo.`, diff --git a/Configuration/config.js b/Configuration/config.js index bf4428ae..379aa8ca 100644 --- a/Configuration/config.js +++ b/Configuration/config.js @@ -58,14 +58,14 @@ module.exports = { applyLink: "https://discordtel.typeform.com/to/wHjMpX", botInvite: "https://discordapp.com/oauth2/authorize?client_id=377609965554237453&scope=bot&permissions=125953", discoinLink: "https://discoin.gitbook.io/docs/users-guide", - githubLink: "https://github.com/austinhuang0131/discordtel", - guidelink: "https://discordtel.austinhuang.me/en/latest/Customer-Support-Guide/", + githubLink: "https://github.com/austinhuang0131/dtel", + guidelink: "https://dtel.austinhuang.me/en/latest/Customer-Support-Guide/", guildInvite: "https://discord.gg/DcayXMc", - paymentLink: "http://discordtel.readthedocs.io/en/latest/Payment/", - siteLink: "https://discordtel.austinhuang.me", + paymentLink: "https://dtel.austinhuang.me/en/latest/Payment/", + siteLink: "https://dtel.austinhuang.me", suggestLink: "https://feedback.austinhuang.me/", - vipLink: "https://discordtel.austinhuang.me/en/latest/VIP-Number/", - voteLink: "https://discordtel.austinhuang.me/en/latest/Payment/#voting-for-us-on-listings", + vipLink: "https://dtel.austinhuang.me/en/latest/VIP-Number/", + voteLink: "https://dtel.austinhuang.me/en/latest/Payment/#voting-for-us-on-listings", // Embed Colors colors: { diff --git a/DiscordTel.js b/DTel.js similarity index 100% rename from DiscordTel.js rename to DTel.js diff --git a/README.md b/README.md index dafad8cb..9141309b 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ You can >dial `*611` if you have any problems or questions about the bot, or if So, ready to *dive* into the world of DTel? -**Read** DTel's documentation by *clicking* this button: --> [![Documentation Status](https://readthedocs.org/projects/discordtel/badge/?version=latest)](http://discordtel.austinhuang.me/en/latest) +**Read** DTel's documentation by *clicking* this button: --> [![Documentation Status](https://readthedocs.org/projects/discordtel/badge/?version=latest)](http://dtel.austinhuang.me/en/latest) Want the bot for **yourself?** Invite it by *clicking here!* --> [![Get the bot](https://img.shields.io/badge/Discord-Get_The_Bot-7289DA.svg)](https://discordapp.com/oauth2/authorize?client_id=377609965554237453&scope=bot) diff --git a/embed.js b/embed.js new file mode 100644 index 00000000..d2404d8c --- /dev/null +++ b/embed.js @@ -0,0 +1,29 @@ +const embed = { + embed: { + fields: [ + { + name: ":book: DTel Server Information", + value: "For command help, use `>help`.\nOur invite for the server is https://discord.gg/RN7pxrB. \nThe documentation is located at https://dtel.austinhuang.me/en/latest/. \nYou can get support by either calling `*611`, or you can raise any concerns with the devs, by sending us an email.", + }, + { + name: ":telephone_receiver: Getting a number", + value: "Type `>wizard` in any server that you have the Manage Server permission in.", + }, + { + name: "Rules", + value: ":one: Don't advertise your server here, please keep spam in #trash-bin, and don't post anything inappropriate.\n:two: Don't call *611 from #public-payphone. (it won't let you anyway)\n:three: Do not ask for staff: We will hire people when we have a need to.\n:four: Respect staff.\n:five: Do not promote communism or capitalism.\n:six: Shitposting is allowed, except in #old-suggestion-box.", + }, + { + name: ":inbox_tray: Inviting the bot:", + value: `Use the command \`>invite\` or click this button: [:dl:](${config.botInvite})\``, + }, + { + name: ":question: Who is who?", + value: "Regular users have the :DTelPhone: emoji.Customer Support have the :telephone_receiver: emoji.", + }, + ], + footer: { + text: "DTel Headquarters", + }, + }, +}; diff --git a/index.js b/index.js index 772a084e..eb980bb1 100644 --- a/index.js +++ b/index.js @@ -18,7 +18,7 @@ for (let i of structures) { console.log(`Loading: ${i}`); if (i.endsWith(".js")) require(`${__dirname}/Structures/${i}`)(Discord); } -const sharder = new ShardingManager(`${__dirname}/DiscordTel.js`, { +const sharder = new ShardingManager(`${__dirname}/DTel.js`, { clientOptions: { disableMentions: "everyone" }, client: require("./Internals/Client.js")(Discord), token: require("./Configuration/auth.js").discord.token, diff --git a/package.json b/package.json index 0ffde889..16520340 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "discordtel", + "name": "dtel", "version": "3.2.0", "description": "Discord Telephone", "main": "index.js", @@ -8,7 +8,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/austinhuang0131/discordtel.git" + "url": "git+https://github.com/austinhuang0131/dtel.git" }, "keywords": [ "DTEL" @@ -20,9 +20,9 @@ ], "license": "SEE LICENSE IN LICENSE", "bugs": { - "url": "https://github.com/austinhuang0131/discordtel/issues" + "url": "https://github.com/austinhuang0131/dtel/issues" }, - "homepage": "https://discordtel.austinhuang.me", + "homepage": "https://dtel.austinhuang.me", "engines": { "node": "12" }, "dependencies": { "@discoin/scambio": "^2.0.3",