Skip to content

Commit

Permalink
install node schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
FricoSimon committed Aug 2, 2023
1 parent f924576 commit c929b70
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 3 deletions.
45 changes: 44 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"axios": "^1.4.0",
"discord.js": "^14.11.0",
"dotenv": "^16.3.1",
"express": "^4.18.2"
"express": "^4.18.2",
"node-schedule": "^2.1.1"
},
"devDependencies": {
"nodemon": "^3.0.1"
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {
ButtonStyle,
EmbedBuilder,
userMention,
ChannelType,
} from 'discord.js';
import { REST } from 'discord.js';
import { joinVoiceChannel, createAudioPlayer, createAudioResource, NoSubscriberBehavior } from '@discordjs/voice';
Expand All @@ -19,6 +18,7 @@ import * as command from './commands/index.js';
import dotenv from 'dotenv';
import Express from "express";
import axios from "axios";
import schedule from "node-schedule";

const app = new Express();
const port = 3000;
Expand Down

0 comments on commit c929b70

Please sign in to comment.