Skip to content

Commit

Permalink
Rebranderino
Browse files Browse the repository at this point in the history
  • Loading branch information
SunburntRock89 committed Apr 30, 2020
1 parent 44813a4 commit 891ff53
Show file tree
Hide file tree
Showing 13 changed files with 51 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions Commands/Public/balance.js
Original file line number Diff line number Diff line change
Expand Up @@ -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/",
}],
},
});
Expand Down Expand Up @@ -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/",
}],
},
});
Expand Down
4 changes: 2 additions & 2 deletions Commands/Public/help.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`.",
Expand Down Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion Commands/Public/info.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}).`,
Expand Down
2 changes: 1 addition & 1 deletion Commands/Public/links.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down
4 changes: 2 additions & 2 deletions Commands/Public/wizard.js
Original file line number Diff line number Diff line change
Expand Up @@ -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!",
Expand Down
2 changes: 1 addition & 1 deletion Commands/Support/cshelp.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.`,
Expand Down
12 changes: 6 additions & 6 deletions Configuration/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
29 changes: 29 additions & 0 deletions embed.js
Original file line number Diff line number Diff line change
@@ -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",
},
},
};
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "discordtel",
"name": "dtel",
"version": "3.2.0",
"description": "Discord Telephone",
"main": "index.js",
Expand All @@ -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"
Expand All @@ -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",
Expand Down

0 comments on commit 891ff53

Please sign in to comment.