- discord.js: 14.14.1
- dotenv : 16.4.5
- ts-pattern: 5.0.8
npm i @ei-sugimoto/eft_discordbot
import {EFTMapsMessage, Map} from '@ei-sugimoto/eft_discordbot'
client.on('messageCreate', async (message: Message) => {
if (message.author.bot) return
const eftMapsMessage = new EFTMapsMessage()
const map = message.content.split(' ')[1] as Map
eftMapsMessage.sendMap(message, map)
})
MIT
ei-sugimoto
- The images of this package are provided under the Creative Commons Attribution-NonCommercial-ShareAlike license by Fandom's Escape from Tarkov Wiki.
- https://escapefromtarkov.fandom.com/wiki/Escape_from_Tarkov_Wiki