Coder Social home page Coder Social logo

ticket-bot's Introduction

Hey! Nice to see you.

Welcome to my page!
I'm Peter, Fullstack developer from QC, Canada.

Things I code with

Next.js Redis PostgreSQL TypeScript Tailwind CSS Java Vercel Insomnia NGINX React Webpack Docker github actions Google Cloud Platform TypeScript Insomnia Apollo Heroku redux ReactiveX GraphQL Sass Styled Components git NestJs angular npm html5 Prettier MongoDB Nodejs

Open source projects

๐ŸŽ Projects โญ Stars ๐Ÿ“š Forks ๐Ÿ›Ž Issues ๐Ÿ“ฌ Pull requests
Discord Package Stars Forks Issues Pull Requests
Pogy [outdated] Stars Forks Issues Pull Requests

Where to find me

Github LinkedIn Email Discord

ticket-bot's People

Contributors

peterhanania avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ticket-bot's Issues

replit

how can i run this to replit?

Bug

The bot won't run even after doing every step, I also have the log:

PS C:\Users"MyUsernameGoesHere"\Desktop\Bot> node index.js
C:\Users"MyUsernameGoesHere"\Desktop\Bot\structures\Util.js:5
const fetch = require('node-fetch');
^

Error [ERR_REQUIRE_ESM]: require() of ES Module C:\Users"MyUsernameGoesHere"\Desktop\Bot\node_modules\node-fetch\src\index.js from C:\Users"MyUsernameGoesHere"\Desktop\Bot\structures\Util.js not supported.
Instead change the require of index.js in C:\Users"MyUsernameGoesHere"\Desktop\Bot\structures\Util.js to a dynamic import() which is available in all CommonJS modules.
at Object. (C:\Users"MyUsernameGoesHere"\Desktop\Bot\structures\Util.js:5:15)
at Object. (C:\Users"MyUsernameGoesHere"\Desktop\Bot\bot.js:2:14)
at Object. (C:\Users"MyUsernameGoesHere"\Desktop\Bot\index.js:1:19) {
code: 'ERR_REQUIRE_ESM'
}

question

are you able to make serveral support channels / ticket pannels whit this`? ( on the same server) , want to have the option for the VIP of my discord to have there own ticket pannel

error

C:\Users\ojohn\OneDrive\Desktop\ticket-bot-main>node index.js
C:\Users\ojohn\OneDrive\Desktop\ticket-bot-main\node_modules\discord.js\src\client\Client.js:544
throw new TypeError('CLIENT_MISSING_INTENTS');
^

TypeError [CLIENT_MISSING_INTENTS]: Valid intents must be provided for the Client.
at botClient._validateOptions (C:\Users\ojohn\OneDrive\Desktop\ticket-bot-main\node_modules\โ†[4mdiscord.jsโ†[24m\src\client\Client.js:544:13)
at new Client (C:\Users\ojohn\OneDrive\Desktop\ticket-bot-main\node_modules\โ†[4mdiscord.jsโ†[24m\src\client\Client.js:73:10)
at new botClient (C:\Users\ojohn\OneDrive\Desktop\ticket-bot-main\bot.js:8:4)
at Object. (C:\Users\ojohn\OneDrive\Desktop\ticket-bot-main\index.js:5:13)
โ†[90m at Module._compile (node:internal/modules/cjs/loader:1105:14)โ†[39m
โ†[90m at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)โ†[39m
โ†[90m at Module.load (node:internal/modules/cjs/loader:981:32)โ†[39m
โ†[90m at Function.Module._load (node:internal/modules/cjs/loader:822:12)โ†[39m
โ†[90m at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)โ†[39m
โ†[90m at node:internal/main/run_main_module:17:47โ†[39m {
[โ†[32mSymbol(code)โ†[39m]: โ†[32m'CLIENT_MISSING_INTENTS'โ†[39m
}

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.