1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-12-28 08:55:38 -05:00

Forgot to add disclaimer

This commit is contained in:
toast-ts 2024-01-02 01:17:01 +11:00
parent 703f587cc9
commit 25019d2e52

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}`)