mirror of
https://github.com/SrIzan10/vinci.git
synced 2026-06-06 01:07:00 +00:00
feat: rockpaperscissors fixed pog
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
import { commandModule, CommandType } from '@sern/handler'
|
||||
import { Context, SlashOptions } from "@sern/handler";
|
||||
import axios from "axios";
|
||||
import { ActionRowBuilder, APIMessageActionRowComponent, ApplicationCommandOptionType, ButtonBuilder, ButtonStyle, ComponentType, EmbedBuilder, GuildMember } from "discord.js";
|
||||
import { ActionRowBuilder, ApplicationCommandOptionType, ButtonBuilder, ButtonStyle, ComponentType, EmbedBuilder, GuildMember } from "discord.js";
|
||||
import { publish } from "../../src/plugins/publish.js";
|
||||
import rockpaperscissors from "rockpaperscissors-checker";
|
||||
import { setNonEnumerableProperties } from "got/dist/source";
|
||||
|
||||
export default commandModule({
|
||||
name: 'rps',
|
||||
|
||||
2
index.ts
2
index.ts
@@ -1,7 +1,5 @@
|
||||
import { SernEmitter } from "@sern/handler";
|
||||
import axios from "axios";
|
||||
import { ActivityType, TextChannel, EmbedBuilder, Message, VoiceBasedChannel } from "discord.js";
|
||||
import { DOMParser } from "@xmldom/xmldom";
|
||||
import { Client, GatewayIntentBits } from "discord.js";
|
||||
import { Sern } from "@sern/handler"
|
||||
import 'dotenv/config'
|
||||
|
||||
14
package-lock.json
generated
14
package-lock.json
generated
@@ -24,7 +24,7 @@
|
||||
"libsodium-wrappers": "^0.7.10",
|
||||
"mongoose": "^6.5.1",
|
||||
"pretty-seconds-spanish": "^2.1.0",
|
||||
"rockpaperscissors-checker": "^1.0.1",
|
||||
"rockpaperscissors-checker": "^1.1.5",
|
||||
"systeminformation": "^5.12.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
@@ -2152,9 +2152,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/rockpaperscissors-checker": {
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmjs.org/rockpaperscissors-checker/-/rockpaperscissors-checker-1.1.2.tgz",
|
||||
"integrity": "sha512-JggFGYsIoRTqJhgrof2DmNEzbuhD7TuETukt7idAf4tiCgbR3H7vdy/sPWWhfIzTnwBMthmWgL/7lJKRY9A5SQ=="
|
||||
"version": "1.1.5",
|
||||
"resolved": "https://registry.npmjs.org/rockpaperscissors-checker/-/rockpaperscissors-checker-1.1.5.tgz",
|
||||
"integrity": "sha512-rhZBji+Iaq+YrHNK6W2mKWWt1A1RQ2eRWy8YiGj9XYFDNlxL1UDACSv7HmkDpusT2kNHd/YvY8OOosNi10n3DA=="
|
||||
},
|
||||
"node_modules/rss-parser": {
|
||||
"version": "3.12.0",
|
||||
@@ -4217,9 +4217,9 @@
|
||||
}
|
||||
},
|
||||
"rockpaperscissors-checker": {
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmjs.org/rockpaperscissors-checker/-/rockpaperscissors-checker-1.1.2.tgz",
|
||||
"integrity": "sha512-JggFGYsIoRTqJhgrof2DmNEzbuhD7TuETukt7idAf4tiCgbR3H7vdy/sPWWhfIzTnwBMthmWgL/7lJKRY9A5SQ=="
|
||||
"version": "1.1.5",
|
||||
"resolved": "https://registry.npmjs.org/rockpaperscissors-checker/-/rockpaperscissors-checker-1.1.5.tgz",
|
||||
"integrity": "sha512-rhZBji+Iaq+YrHNK6W2mKWWt1A1RQ2eRWy8YiGj9XYFDNlxL1UDACSv7HmkDpusT2kNHd/YvY8OOosNi10n3DA=="
|
||||
},
|
||||
"rss-parser": {
|
||||
"version": "3.12.0",
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
"libsodium-wrappers": "^0.7.10",
|
||||
"mongoose": "^6.5.1",
|
||||
"pretty-seconds-spanish": "^2.1.0",
|
||||
"rockpaperscissors-checker": "^1.0.1",
|
||||
"rockpaperscissors-checker": "^1.1.5",
|
||||
"systeminformation": "^5.12.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user