@lotus-tree/fg-notation 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -1
- package/src/index.js +3 -2
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lotus-tree/fg-notation",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"main": "src/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@lotus-tree/command-handler": "^3.0.0",
|
|
8
8
|
"axios": "^0.27.2",
|
|
9
9
|
"bent": "^7.3.12",
|
|
10
|
+
"discord.js": "^14.14.1",
|
|
10
11
|
"glob": "^7.2.0",
|
|
11
12
|
"sharp": "^0.29.3"
|
|
12
13
|
}
|
package/src/index.js
CHANGED
|
@@ -4,6 +4,7 @@ import glob from 'glob'
|
|
|
4
4
|
import { DataTypes } from 'sequelize'
|
|
5
5
|
import bent from 'bent'
|
|
6
6
|
import axios from 'axios'
|
|
7
|
+
import { GatewayIntentBits, Partials } from 'discord.js'
|
|
7
8
|
|
|
8
9
|
import { sizes, aliases, builtin } from './info.json'
|
|
9
10
|
|
|
@@ -121,8 +122,8 @@ const fgnotation = {
|
|
|
121
122
|
name: 'FG Notation',
|
|
122
123
|
value: '[Instructions and source code](https://lotus.chitowarlock.com/fgnotation)\n[Infil\'s Fighting Game Glossary](https://glossary.infil.net)\n[MagicianStuff\'s Fighthing Game notations emotes](https://twitter.com/MagicianStuff/status/1477931054484893697)'
|
|
123
124
|
},
|
|
124
|
-
intents: [
|
|
125
|
-
partials: [
|
|
125
|
+
intents: [GatewayIntentBits.GuildMembers],
|
|
126
|
+
partials: [Partials.Message],
|
|
126
127
|
|
|
127
128
|
preload: sequelize => {
|
|
128
129
|
sequelize.define('fginput', {
|