Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

discord-bot-creation

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discord-bot-creation

Assim fica mais fácil a criação de bots pro discord.

  • 0.0.5
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

discord-bot-creation

Assim fica mais fácil a criação de bots pro discord.

npm install discord-bot-creation
yarn add discord-bot-creation (se você estiver usando yarn)

Exemplo:


//essas consts são obrigatórias!

const bot = require('discord-bot-creation')
const Discord = require('discord.js')
const client = new Discord.Client({ intents: 32767 })
const token = 'SEU_TOKEN_AQUI'
const url = 'SUA_URL_MONGODB'

//é necessário setar a url mongo antes
bot.setURL(url)


//criação dos comandos
bot.createCommand('nome', 'descrição', 'embed ou mensagem', 'resposta')


//depois de fazer tudo, é só da start e setar o status do seu bot!

bot.start(client, token)
bot.setStatus('seu status aqui.')

Criar comandos

bot.createCommand('nome', 'descrição', 'embed ou mensagem', 'resposta')

setar o status do bot

bot.start(client, token)
bot.setStatus('seu status aqui.')

Notas:

Em breve vou adicionar mais funções, fiquem ligados!

um pequeno passo para o homen, um grande passo para o programador!

Keywords

FAQs

Package last updated on 06 Nov 2021

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc