Giter VIP home page Giter VIP logo

sandarutharuneth / ivongiveaways Goto Github PK

View Code? Open in Web Editor NEW
88.0 3.0 33.0 313 KB

The perfect giveaway and utility bot with slash to host giveaways easily on your server with multiple options and utility commands. Made with discord.js v14

Home Page: https://ivongiveaways.com

License: Creative Commons Zero v1.0 Universal

JavaScript 100.00%
discord-bot discord-giveaway discord-js giveaway giveaway-bot discord discord-giveaway-bot discord-giveaways discord-js-bot replit

ivongiveaways's Introduction

IVON Technologies

The perfect giveaway bot to host giveaways easily on your server build with discord.js

Caution

We have discontinued updates for this project. IVON is now on a different code base, and currently we do not have any intentions yet to share it.

forthebadge

Invite our Giveaway bot IVON and help us out!

Links

Support Server

Licensed Under

Creative Commons CC0 v1.0 Universal

View the license here

Copyright 2022 © All Rights are Reserved

Give us a Star

Readme-Card.png

Code of Conduct

Please read code of conduct for details on our code of conduct.

You can run the bot in just a few steps! Let me show you how:

Hosting

Warning

This bot needs a Node.js v18+ runtime to function since discord.js version 13 requires node version to function

Run on Repl.it Remix on Glitch

Step 1: Install the Dependencies:

Linux

apt install nodejs npm -y
curl -sL https://deb.nodesource.com/setup_16.x -o nodesource_setup.sh
chmod 777 nodesource_setup.sh
./nodesource_setup.sh
apt install nodejs -y
npm install

Windows

# https://nodejs.org/en/blog/release/v16.0.0/ get node.js
npm install 

Step 2: Obtain a Bot Token From Here

Step 3 : Replace the Token and other dependencies inside .env

Follow the wiki for additional help

TOEKN=Your Token goes here
FOTTERIMG=Your Footer Image Link goes here
THUMBNAIL=Your Thumbnail image link goes here
DCBL=https://cdn.discordapp.com/attachments/477946103287906304/482738675776618497/DBL.png

That's all! We Are Done! Now Simply host the Bot!

Run with node

node index.js

Run with pm2

npm install -g pm2@latest
pm2 start --name "ivongiveaways" index.js --watch

Connect with me:

Contributors

GitHub Contributors Image

©️ Project Razer

ivongiveaways's People

Contributors

amajayasinghe avatar dex-404 avatar sandarutharuneth avatar snyk-bot avatar vsstudios 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ivongiveaways's Issues

How to get japi key

When I go to the website that says the installation tutorial, it gives me the following and I can't get that api key, what do I do in this case?

"Domain Misconfigured
The domain key.japi.rest is not configured to any website."

need help

giveaway\node_modules\discord-giveaways\src\Manager.js:76
            .setTitle(typeof giveaway.messages.title === 'string' ? giveaway.messages.title : giveaway.prize)
                                               ^

TypeError: Cannot read properties of undefined (reading 'title')
    at GiveawayManagerCustom.generateMainEmbed (C:\Users\sixpa\OneDrive\Desktop\giveaway\node_modules\discord-giveaways\src\Manager.js:76:48)
    at C:\Users\sixpa\OneDrive\Desktop\giveaway\node_modules\discord-giveaways\src\Manager.js:596:39
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

invalid token

Hi,

When I try to start this bot I get a few errors and a invalid token error, while the token in the .env is valid.

Not sure what's going on here..
root@pterodata:/srv/bots/giveaway# node index.js {MongoDB Event Handler} - "connected" event registered. {MongoDB Event Handler} - "connecting" event registered. {MongoDB Event Handler} - "disconnedted" event registered. {MongoDB Event Handler} - "err" event registered. (node:25464) [MONGOOSE] DeprecationWarning: Mongoose: the strictQueryoption will be switched back tofalseby default in Mongoose 7. Usemongoose.set('strictQuery', false);if you want to prepare for this change. Or usemongoose.set('strictQuery', true);to suppress this warning. (Usenode --trace-deprecation ...` to show where the warning was created)
[MONGO DB]: Error: MongoParseError: Invalid scheme, expected connection string to start with "mongodb://" or "mongodb+srv://"
/srv/bots/giveaway/node_modules/discord.js/src/client/Client.js:216
if (!token || typeof token !== 'string') throw new DiscordjsError(ErrorCodes.TokenInvalid);
^

Error [TokenInvalid]: An invalid token was provided.
at Client.login (/srv/bots/giveaway/node_modules/discord.js/src/client/Client.js:216:52)
at Object. (/srv/bots/giveaway/index.js:112:8)
at Module._compile (node:internal/modules/cjs/loader:1233:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1287:10)
at Module.load (node:internal/modules/cjs/loader:1091:32)
at Module._load (node:internal/modules/cjs/loader:938:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12)
at node:internal/main/run_main_module:23:47 {
code: 'TokenInvalid'
}

Node.js v20.5.1`

permission

hello dear friends

first sorry in advance for my rotten english :)

I use your bot that I host on my local computer, the problem and that only the owners can start giveaways. how and where to modify the permission that a specific role can also start a giveaway?

Discord.js v14

Some command starting to act wired. When do you guys gonna update ivon to v14?

serverinfo command could someone help me

C:\Users\Administrator\Desktop\ivongiveaways-main\node_modules\discord.js\src\structures\interfaces\InteractionResponses.js:157
    if (!this.deferred && !this.replied) throw new DiscordjsError(ErrorCodes.InteractionNotReplied);
                                               ^

Error [InteractionNotReplied]: The reply to this interaction has not been sent or deferred.
    at ChatInputCommandInteraction.editReply (C:\Users\Administrator\Desktop\ivongiveaways-main\node_modules\discord.js\src\structures\interfaces\InteractionResponses.js:157:48)
    at Object.run (C:\Users\Administrator\Desktop\ivongiveaways-main\slash\serverinfo.js:46:19)
    at module.exports (C:\Users\Administrator\Desktop\ivongiveaways-main\events\discord\interactionCreate.js:14:13)
    at Client.emit (node:events:513:28)
    at InteractionCreateAction.handle (C:\Users\Administrator\Desktop\ivongiveaways-main\node_modules\discord.js\src\client\actions\InteractionCreate.js:97:12)
    at module.exports [as INTERACTION_CREATE] (C:\Users\Administrator\Desktop\ivongiveaways-main\node_modules\discord.js\src\client\websocket\handlers\INTERACTION_CREATE.js:4:36)
    at WebSocketManager.handlePacket (C:\Users\Administrator\Desktop\ivongiveaways-main\node_modules\discord.js\src\client\websocket\WebSocketManager.js:352:31)
    at WebSocketShard.onPacket (C:\Users\Administrator\Desktop\ivongiveaways-main\node_modules\discord.js\src\client\websocket\WebSocketShard.js:494:22)
    at WebSocketShard.onMessage (C:\Users\Administrator\Desktop\ivongiveaways-main\node_modules\discord.js\src\client\websocket\WebSocketShard.js:328:10)
    at callListener (C:\Users\Administrator\Desktop\ivongiveaways-main\node_modules\ws\lib\event-target.js:290:14) {
  code: 'InteractionNotReplied'
}

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.