Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
bot-creator-v12
Advanced tools
Readme
Assim fica mais fácil a criação de bots pro discord.
npm install bot-creator-v12
yarn add bot-creator-v12 (se você estiver usando yarn)
const bot = require('bot-creator-v12')
const token = 'SEU_TOKEN_AQUI'
const url = 'SUA_URL_MONGODB'
bot.getPing()
bot.setURL(url)
//criação dos comandos
let name = 'test'
let resposta = '**exemplo:**\n\ndescrição'
let desc = 'descrição do comando'
let type = 'embed' // o type pode ser embed ou message
let prefix = '!' // seu prefixo
bot.createCommand(name, desc, type, resposta)
bot.loadCommands(prefix)
//depois de fazer tudo, é só da start e setar o status do seu bot!
bot.login(token)
bot.setStatus('seu status aqui.')
bot.setWelcome('SERVIDOR_ID', 'CANAL_ID', type, response)
const bot = require('bot-creator-v12')
const token = 'SEU_TOKEN_AQUI' // [ NECESSÁRIO ]
bot.getPing()
//criação dos comandos
let name = 'test'
let response = '**exemplo:**\n\ndescrição'
let desc = 'descrição do comando'
let type = 'embed' // o type pode ser embed ou message
let prefix = '!' // seu prefixo
bot.createCommand(name, desc, type, response)
bot.loadCommands(prefix)
//depois de fazer tudo, é só da start e setar o status do seu bot!
bot.login(token)
bot.setStatus('seu status aqui.')
bot.setWelcome('SERVIDOR_ID', 'CANAL_ID', type, response)
let name = 'test'
let desc = 'descrição'
let type = 'embed' // ou message
let response = '**Exemplo:**\n\ndescrição e etc...'
bot.createCommand(name, desc, type, response)
let prefix = '!'
bot.loadCommands(prefix)
let status = 'Sou apenas um bot para o discord!'
bot.setStatus(status)
bot.login(token)
let response = '**exemplo:**\n\ndescrição'
let type = 'embed' // o type pode ser embed ou message
bot.setWelcome('SERVIDOR_ID', 'CANAL_ID', type, response)```
bot.getPing()
bot.version()
say - digite algo no chat!
help - veja os comandos
Em breve vou adicionar mais funções, fiquem ligados!
FAQs
Assim fica mais fácil a criação de bots pro discord.
The npm package bot-creator-v12 receives a total of 3 weekly downloads. As such, bot-creator-v12 popularity was classified as not popular.
We found that bot-creator-v12 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.