Update actions/checkout to v4
This commit is contained in:
parent
34c5f08806
commit
b89b926f9a
11 changed files with 10 additions and 13 deletions
|
@ -1,4 +1,3 @@
|
|||
const fs = require('fs');
|
||||
const {EmbedBuilder} = require('discord.js');
|
||||
const getSubdirFiles = require('../../util/getSubdirFiles');
|
||||
|
||||
|
@ -17,7 +16,6 @@ module.exports = {
|
|||
let fieldName = `Page [[page]]/${Math.round(client.commands.size / 10)}`;
|
||||
let iteration = 0;
|
||||
let num_in_args = false;
|
||||
let added_commands = 0;
|
||||
let page = -1;
|
||||
|
||||
|
||||
|
@ -53,7 +51,6 @@ module.exports = {
|
|||
if (!command.admin){
|
||||
if(start < iteration){
|
||||
}else{
|
||||
added_commands++
|
||||
commands = commands + `${prefix}${command.name} | ${command.description}\n`;
|
||||
iteration++
|
||||
}
|
||||
|
|
|
@ -19,7 +19,8 @@ module.exports = {
|
|||
try {
|
||||
num = num.slice(0, -1);
|
||||
} catch (e) {
|
||||
message.channel.send("There was an error.");
|
||||
console.error(e)
|
||||
message.channel.send("There was an error. Check the logs");
|
||||
return;
|
||||
}
|
||||
message.channel.send("https://cdn.discordapp.com/emojis/" + num + extension);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue