mirror of
https://github.com/keanuplayz/TravBot-v3.git
synced 2024-08-15 02:33:12 +00:00
14 lines
463 B
TypeScript
14 lines
463 B
TypeScript
|
import {Command, NamedCommand} from "../../core";
|
||
|
|
||
|
export default new NamedCommand({
|
||
|
description: "Initiates a celebratory stream from the bot.",
|
||
|
async run({message, channel, guild, author, member, client, args}) {
|
||
|
channel.send("This calls for a celebration!");
|
||
|
client.user!.setActivity({
|
||
|
type: "STREAMING",
|
||
|
url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
|
||
|
name: "Celebration!"
|
||
|
});
|
||
|
}
|
||
|
});
|