Skip to content

Commit 8c7a2af

Browse files
authored
Add source command
1 parent edf32d2 commit 8c7a2af

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

src/app/cmds/General/source.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
module.exports = {
2+
name: "source",
3+
description: "A link to the source for the bot!",
4+
guildOnly: false,
5+
authorizedGuilds: [],
6+
hidden: false,
7+
permissions: ["DEFAULT"],
8+
cooldown: 2,
9+
aliases: [],
10+
syntax: [],
11+
execute: async(app, message, args) => {
12+
return app.functions.msgHandler(message, {
13+
embeds: [{
14+
title: app.config.system.emotes.information + " Source",
15+
color: app.config.system.embedColors.green,
16+
fields: [
17+
{ name: "OwO? Source Code?!?", value: `The source code for TheCodingBot can be found [here](https://tcb.nekos.tech/)!` }
18+
]}]
19+
})
20+
}}

0 commit comments

Comments
 (0)