1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-17 16:30:58 -05:00

Forgot to add disclaimer

This commit is contained in:
AnxietyisReal 2024-01-02 01:17:01 +11:00
parent 8fa72b2aa1
commit b1b0c3692e

View File

@ -25,7 +25,7 @@ export default class Academy {
query: async()=>{ query: async()=>{
const answer = interaction.options.getString('answer'); const answer = interaction.options.getString('answer');
const queryFound = this.yaml_file.articles.find(x=>x.embed.title === answer); const queryFound = this.yaml_file.articles.find(x=>x.embed.title === answer);
interaction.reply({embeds: [new client.embed() interaction.reply({content: 'This command is a trial run, it may stay or be removed in near future.', embeds: [new client.embed()
.setColor(client.config.embedColor) .setColor(client.config.embedColor)
.setTitle(queryFound.embed.title) .setTitle(queryFound.embed.title)
.setURL(`https://www.farming-simulator.com/newsArticle.php?news_id=${queryFound.embed.id}`) .setURL(`https://www.farming-simulator.com/newsArticle.php?news_id=${queryFound.embed.id}`)