Coder Social home page Coder Social logo

dan5py / discordjs-template-ts Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 0.0 85 KB

A simple bot template for discordjs (with Typescript)

Home Page: https://dan5py.github.io/discordjs-template-ts/

License: ISC License

TypeScript 100.00%
discord discord-bot discord-bot-template discord-bot-template-ts discord-command-handler discord-js discordjs-command-handler discordjs-template typescript discordjs-event-handler

discordjs-template-ts's Introduction

Hey ๐Ÿ‘‹

Linkedin Shield

Hi, it's Daniele here. I'm a freelance developer with a big passion for everything related to software and programming, especially the Web.

User Stats Languages Stats

What I use

Javascript Typescript React NextJS NodeJS HTML5 CSS3 TailwindCSS Python Java MongoDB MySQL

Magic Tech

VSCode Docker Kubernetes k3s Ansible Firebase Yarn Linux RaspberryPi Git GitHub GitLab Figma

discordjs-template-ts's People

Contributors

dan5py avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

discordjs-template-ts's Issues

GatewayIntents not changing

Describe the bug
The options passed to the DiscordClient constructor are not the one passed from the index.ts file, this causes errors GatewayIntents and other client-related options.

To Reproduce
Steps to reproduce the behavior:

  1. Start the bot
  2. Change the intents

Expected behavior
The intents should change but they are always empty.

Additional context
Add any other context about the problem here.

Missing break for type NUMBER in options

Describe the bug
Missing break for number option type

To Reproduce
Steps to reproduce the behavior:

  1. Create a slash command with the type NUMBER

A clear and concise description of what you expected to happen.

It will crash trying to create both NUMBER and BOOLEAN option

Just add at the end of switchcase case "NUMBER"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.