mirror of https://github.com/thaldrin/thaldrin.git
finish donate command
This commit is contained in:
parent
1be1b4d903
commit
f445bdf987
|
@ -2,10 +2,14 @@ import Command from "../../handler/structures/Command";
|
||||||
import { Context } from "../../utils/types";
|
import { Context } from "../../utils/types";
|
||||||
import lingua from "../../utils/lingua";
|
import lingua from "../../utils/lingua";
|
||||||
import replace from "../../utils/replace";
|
import replace from "../../utils/replace";
|
||||||
import Roll from 'roll'
|
|
||||||
import { MessageEmbed } from "discord.js";
|
import { MessageEmbed } from "discord.js";
|
||||||
const roll = new Roll()
|
|
||||||
|
|
||||||
|
let perks = [
|
||||||
|
"Donator Role + Custom color role in Discord Server",
|
||||||
|
"Reduced Cooldowns for commands",
|
||||||
|
"API Access",
|
||||||
|
'Shortlink creation on [t8.pm](https://t8.pm)'
|
||||||
|
]
|
||||||
export = class Donate extends Command {
|
export = class Donate extends Command {
|
||||||
constructor() {
|
constructor() {
|
||||||
super({
|
super({
|
||||||
|
@ -15,8 +19,15 @@ export = class Donate extends Command {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
async command(ctx: Context) {
|
async command(ctx: Context) {
|
||||||
let embed = new MessageEmbed().setColor(ctx.config.variables.color).setFooter(`${ctx.config.variables.name}`, ctx.config.variables.avatar)
|
let embed = new MessageEmbed().setColor(ctx.config.variables.color).setFooter(`${ctx.config.variables.name}`, ctx.config.variables.avatar)
|
||||||
embed.setTitle(`Donate`)
|
embed.setTitle("Donate").setURL("https://lio.cat/support")
|
||||||
|
.setDescription(`If you enjoy Thaldrin and his Services you can donate to help support the Developer and fund future features.`)
|
||||||
|
.addField("One-Time", `- [Kofi](https://ko-fi.com/hokkqi)\n- [XTZ](https://tzkt.io/tz1eCwUvawQ3p2hDDdzsg3e7B1tyU3M3F1Va/) \`tz1eCwUvawQ3p2hDDdzsg3e7B1tyU3M3F1Va\`\n- [ETH](https://etherscan.io/address/0x8BC37013964dc2910a9a5C728eC8d586C7d6e1f2)\`0x8BC37013964dc2910a9a5C728eC8d586C7d6e1f2\`\n\nmessage [lion.himbo.cat](https://lion.himbo.cat) for other ways if needed :sparkles:`)
|
||||||
|
.addField("Monthly", `- [Buy me a Coffee](https://kji.tf/bmac)\n- [Patreon](https://patreon.com/thaldrin)\n`)
|
||||||
|
.addField("Donator Perks", `- ${perks.join('\n- ')}`)
|
||||||
|
|
||||||
|
ctx.channel.send(embed)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue