Skip to content

Commit 6788996

Browse files
committed
remove discord dependence
1 parent b5a5d76 commit 6788996

60 files changed

Lines changed: 168 additions & 120 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.dockerignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,4 @@ tribesPage-1.html
7070
tribe-page.html
7171
tribes.html
7272

73-
# Development tools
74-
deploy-commands.js
73+
# Development tools

commands/admin/exportgame.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const { SlashCommandBuilder } = require('@discordjs/builders');
1+
const { SlashCommandBuilder } = require('../../libs/command-builders.js');
22

33
module.exports = {
44
category: 'admin',

commands/admin/importgame.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const { SlashCommandBuilder } = require('@discordjs/builders');
1+
const { SlashCommandBuilder } = require('../../libs/command-builders.js');
22

33
module.exports = {
44
category: 'admin',

commands/admin/join.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const { SlashCommandBuilder, EmbedBuilder } = require('discord.js');
1+
const { SlashCommandBuilder, EmbedBuilder } = require('../../libs/command-builders.js');
22
const pop = require('../../libs/population.js');
33
const text = require('../../libs/textprocess.js');
44

commands/admin/secrets.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const { SlashCommandBuilder, EmbedBuilder } = require('discord.js');
1+
const { SlashCommandBuilder, EmbedBuilder } = require('../../libs/command-builders.js');
22

33
const worklib = require('../../libs/work.js');
44

commands/admin/specialize.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const { SlashCommandBuilder, EmbedBuilder } = require('discord.js');
1+
const { SlashCommandBuilder, EmbedBuilder } = require('../../libs/command-builders.js');
22
const prof = require('../../libs/profession');
33

44
module.exports = {

commands/admin/vote.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const { SlashCommandBuilder, EmbedBuilder } = require('discord.js');
1+
const { SlashCommandBuilder, EmbedBuilder } = require('../../libs/command-builders.js');
22
const text = require('../../libs/textprocess.js');
33
const pop = require('../../libs/population.js');
44

commands/chief/banish.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const { SlashCommandBuilder, EmbedBuilder } = require('discord.js');
1+
const { SlashCommandBuilder, EmbedBuilder } = require('../../libs/command-builders.js');
22

33
const { banish, banishAdmin } = require('../../libs/banish.js');
44
const text = require('../../libs/textprocess');

commands/chief/chance.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const { SlashCommandBuilder, EmbedBuilder } = require('discord.js');
1+
const { SlashCommandBuilder, EmbedBuilder } = require('../../libs/command-builders.js');
22

33
const guardlib = require('../../libs/guardCode.js');
44
const dice = require('../../libs/dice.js');

commands/chief/close.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const { SlashCommandBuilder, EmbedBuilder } = require('discord.js');
1+
const { SlashCommandBuilder, EmbedBuilder } = require('../../libs/command-builders.js');
22
const chief = require('../../libs/chief.js');
33

44
module.exports = {

0 commit comments

Comments
 (0)