AwardBot is an open source advanced giveaway bot. Written in Discord.js

Overview

Award | Event Handler

Installation

npm install award.js --save yarn add award.js

{ console.log("Connected to Giftix, listening events..."); }); awardClient.on("boost", ({ user }) => { // You can give a role to the user. console.log(`${user.username} boosted our server!`); }); awardClient.on("unboost", ({ user }) => { console.log(`${user.username} remove the boost from server. :(`); }); awardClient.on("giveawayJoin", ({ user, giveaway }) => { console.log(`${user.username} joined the ${giveaway.title} giveaway.`); }); awardClient.on("giveawayFinish", ({ giveaway, winners }) => { console.log(`${giveaway.title} has been ended. Winners: ${winners.map(_w => _w.id).join(",")}`); }); awardClient.on("giveawayReroll", ({ giveaway, winners }) => { console.log(`${giveaway.title} has been rerolled. New Winners: ${winners.map(_w => _w.id).join(",")}`); }); awardClient.on("giveawayDelete", ({ giveaway }) => { console.log(`${giveaway.title} has been deleted.`); });">
const Award = require("award.js");

const awardClient = new Award({
	guild: "911264853086318702", // Server ID to listen to events
	intents: [
      "BOOST",
      "UNBOOST",
      "GIVEAWAY_JOIN",
      "GIVEAWAY_FINISH",
      "GIVEAWAY_REROLL",
      "GIVEAWAY_CREATE",
	] // Join our Discord server to intents list and event names
});

awardClient.on("ready", () => {
	console.log("Connected to Giftix, listening events...");
});

awardClient.on("boost", ({ user }) => {
	// You can give a role to the user.
	console.log(`${user.username} boosted our server!`);
});

awardClient.on("unboost", ({ user }) => {
	console.log(`${user.username} remove the boost from server. :(`);
});

awardClient.on("giveawayJoin", ({ user, giveaway }) => {
	console.log(`${user.username} joined the ${giveaway.title} giveaway.`);
});

awardClient.on("giveawayFinish", ({ giveaway, winners }) => {
	console.log(`${giveaway.title} has been ended. Winners: ${winners.map(_w => _w.id).join(",")}`);
});

awardClient.on("giveawayReroll", ({ giveaway, winners }) => {
	console.log(`${giveaway.title} has been rerolled. New Winners: ${winners.map(_w => _w.id).join(",")}`);
});

awardClient.on("giveawayDelete", ({ giveaway })  => {
	console.log(`${giveaway.title} has been deleted.`);
});

Developers


Swoth


clqu

Star

  • Don't forget to star this repo for support :)
You might also like...

An open-source URL Shortener written in Node.js 🔗

An open-source URL Shortener written in Node.js 🔗

What's this? Qurl.gq is an open-source URL Shortener written in Node.js 🔗 Contributing ideas Apply a custom font Add tests UI Improvements Sanitise u

Oct 7, 2022

A Moduler Advanced Whatsapp Bot in NodeJs.

A Moduler Advanced Whatsapp Bot in NodeJs.

Secktor 🖤 Deploy on heroku | Read the Documentation 📚 Introducing Secktor,Secktor is designed to bring a whole new level of excitement to your borin

Dec 26, 2022

A discord bot to track "owo", usually used to help with OwO bot. Made with Discord.js v13 includes Slash commands, Leaderboards, Auto Resets etc.

Discord-OwO-tracker A discord bot to track "owo", usually used to help with OwO bot Requirements Discord.js v13 (npm install discord.js@latest) applic

Nov 24, 2022

A recreation of a startpage posted on Reddit without the source, so I rewrote it in Next.js + Tailwind for the open source community.

Startpage "Figma Balls" Rewrite Why Did I Make This I saw a startpage posted on the subreddit r/startpages that I thought looked nice, but when I look

Mar 29, 2022

Let's participate in Hacktoberfest and contribute to open-source. Star the repo and open a PR to get accepted.

Let's participate in Hacktoberfest and contribute to open-source. Star the repo and open a PR to get accepted.

Let's Contribute To Open-source First Contributions This project aims to simplify and guide the way, beginners can make their first contribution towar

Dec 3, 2022

OBL is a free, libre and open source botlist for Discord, Revolt, Telegram and Guilded. No nfts,no web3,no daos. only bots lol

OBL (aka OpenBotList) Obl is a free,libre and open source botlist for Discord, Revolt, Telegram and Guilded that has free bananas ( Revolt, Telegram a

Sep 26, 2022

Código open source do Naoki, feito com Node.js utilizando Discord.js.

🤔 › Sobre o Naoki Naoki é um robô do Discord multiuso com as funções mais necessárias e essenciais para seu servidor! O código do Naoki foi escrito e

Sep 4, 2022
Owner
Award
AwardBot is an open source advanced giveaway bot. Written in Discord.js. You can set conditions for the giveaways, automatically deliver the prizes, and lock th
Award
An Advanced Activity Command Using Discord-Together Package For Discord.jsv13 with buttons

Active An Advanced Activity Bot Using Discord-Together Package For Discord.jsv13 with buttons. Report Bug · Request Feature Usage. How to run the bot?

Hypwreck 11 Feb 15, 2022
this is advanced ticket system bot, worked in discord guilds🎫.

?? Ticker Boy Source (advanced ticket system ?? ) Hi there???? this source bot writes with love and much works ❤️‍?? with inviting "Ticker Boy" you ca

Sobhan.SRZA 19 Jan 7, 2023
lua-pack is an advanced lua bundler similar to webpack made for lua 5.1+ written in js

lua-pack is an advanced lua bundler similar to webpack made for lua 5.1+ written in js that makes working on large scale projects easy and fast. it takes all the files in your project and packs them into a single production ready file.

Chris 10 May 14, 2022
Reference for How to Write an Open Source JavaScript Library - https://egghead.io/series/how-to-write-an-open-source-javascript-library

Reference for How to Write an Open Source JavaScript Library The purpose of this document is to serve as a reference for: How to Write an Open Source

Sarbbottam Bandyopadhyay 175 Dec 24, 2022
An Open-Source Platform to certify open-source projects.

OC-Frontend This includes the frontend for Open-Certs. ?? After seeing so many open-source projects being monetized ?? without giving any recognition

Open Certs 15 Oct 23, 2022
Shikhar 4 Oct 9, 2022
This is a project for open source enthusiast who want to contribute to open source in this hacktoberfest 2022. 💻 🎯🚀

HACKTOBERFEST-2022-GDSC-IET-LUCKNOW Beginner-Hacktoberfest Need Your first pr for hacktoberfest 2k22 ? come on in About Participate in Hacktoberfest b

null 8 Oct 29, 2022
A free and open-source Automatic Account Creator (AAC) written in Javascript Stack;

A free and open-source Automatic Account Creator (AAC) written in Javascript Stack. ????‍?? Techs Front-end Vue.js Vuex-module-decorators Vuetify.js N

null 24 Dec 17, 2022
⚡️ Free, open-source and easy to setup tempmail written in Node.JS!

tempmail-js ⚡️ Free, open-source and easy to setup tempmail written in Node.JS! tempmail.js uses MongoDB to store it's data. Installation Installing t

vida 2 Nov 7, 2022
CSVx.js is an open source CSV library written in TypeScript

This project has been transferred to DWTechs. Please update your project dependencies to the latest version from the new repository. Synopsis CSVx.js

Ludovic CLUBER 2 Nov 5, 2022