Giter Club home page Giter Club logo

dbm-rawdata-releases's Introduction

πŸ—‚οΈ Pikes Raw Data Repository πŸ—‚οΈ

-----------------------------------------------------

⚠️ Important ⚠️

A lot of new commands now require new intents. Please make sure you read the information on the command.

Any bugs or issues should be directly reported to Pike#6424 on Discord or open up an issue here. I will be glad to help!

All commands listed (non-archive) have been ported over to Discord.js v12. All archived commands/events are no longer supported. They are not ported over and will not be updated -----------------------------------------------------

πŸ“ Information πŸ“

Welcome to my raw data repository! Here are many of the command sets I have made. Feel free to look around and if you have any questions, dont hestiate to DM me! I am Pike#6424 and I am also in the main DBM Mods Discord server! When I dont respond in DMs, feel free to DM me again to remind me. I may forget from time to time.

Most of commands/events here are script based to make them easier to do in DBM.

I am always taking suggestions and requests and will do my best to update them on time. Any bugs can be reported to me as said above.

All commands and events here now have a by default enabled updater that notifies the bot owner of an update. It is done only on start. -----------------------------------------------------

Current Systems

-----------------------------------------------------

Archived

All archived projects are proejects that I have mostly given up on and/or will no longer maintain. No further updates will be pushed to them. All systems outside will be maintained to the best of my ability -----------------------------------------------------

How to import

All command systems here are seperated intially by folders. Every command system folder like Reaction Menu has a commands and events folder. Command folders contain the raw data for the command. The event folder contains the raw data for the events. You would open each file up individually in these folders and you would import them to DBM the usual way with raw data. -----------------------------------------------------

dbm-rawdata-releases's People

Contributors

almeidx avatar itzpike avatar maikobot avatar pikenote avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

dbm-rawdata-releases's Issues

Invitesettings (Newest update)

I updated my Invitesettings command file and my inviteStart event file with the most recent updated files you have on your github and now I get this error every time I run the command. (Never got it before updating)

error >>> TypeError: Cannot set property '<MY_SERVER_ID_HERE>' of undefined

Here is my bots log.

TypeError: Cannot set property '<MY_SERVER_ID_HERE>' of undefined
?     at eval (eval at Actions.eval (C:\Users\<name>\OneDrive\Desktop\Bot_invitesettings_updated\bot.js:344:10), :16:29)
?     at Object.Actions.eval (C:\Users\<name>\OneDrive\Desktop\Bot_invitesettings_updated\bot.js:344:10)
?     at Object.action [as Run Script] (C:\Users\<name>\OneDrive\Desktop\Bot_invitesettings_updated\actions\run_script.js:287:12)
?     at Object.Actions.invokeActions (C:\Users\<name>\OneDrive\Desktop\Bot_invitesettings_updated\bot.js:502:18)
?     at Object.Actions.preformActions (C:\Users\<name>\OneDrive\Desktop\Bot_invitesettings_updated\bot.js:391:8)
?     at Object.Bot.checkCommand (C:\Users\<name>\OneDrive\Desktop\Bot_invitesettings_updated\bot.js:182:12)
?     at Object.Bot.onMessage (C:\Users\<name>\OneDrive\Desktop\Bot_invitesettings_updated\bot.js:165:13)
?     at Client.emit (events.js:311:20)
?     at MessageCreateAction.handle (C:\Users\<name>\OneDrive\Desktop\Bot_invitesettings_updated\node_modules\discord.js\src\client\actions\MessageCreate.js:31:14)
?     at Object.module.exports [as MESSAGE_CREATE] (C:\Users\<name>\OneDrive\Desktop\Bot_invitesettings_updated\node_modules\discord.js\src\client\websocket\handlers\MESSAGE_CREATE.js:4:32)
?

Any fixes or help with this?
I have updated and re installed all the DBM node modules and updated and refreshed all the action, events, etc. folders too and this error still happens after running the invite settings command.

It also seems like none of the other invite manager commands are working...

inviteuser (user) gives me this error >>> (node:24492) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'invitedData' of undefined

Here is my bots log after running the inviteuser/inviteplayer command.
//(I still git this error even if I keep 'player' as the command name instead of changing it to user)

(node:24492) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'invitedData' of undefined
    at main (eval at Actions.eval (C:\Users\<name>\OneDrive\Desktop\Bot_invitesettings_updated\bot.js:344:10), <anonymous>:32:42)
    at eval (eval at Actions.eval (C:\Users\<name>\OneDrive\Desktop\Bot_invitesettings_updated\bot.js:344:10), <anonymous>:27:9)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:24492) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:24492) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

invitetop gives me this error >>> (node:20956) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'inviterData' of undefined

here is my log after running invitetop

(node:20956) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'inviterData' of undefined
    at main (eval at Actions.eval (C:\Users\<name>\OneDrive\Desktop\Bot_invitesettings_updated\bot.js:344:10), <anonymous>:6:23)
    at eval (eval at Actions.eval (C:\Users\<name>\OneDrive\Desktop\Bot_invitesettings_updated\bot.js:344:10), <anonymous>:53:5)
    at Object.Actions.eval (C:\Users\<name>\OneDrive\Desktop\Bot_invitesettings_updated\bot.js:344:10)
    at Object.action [as Run Script] (C:\Users\<name>\OneDrive\Desktop\Bot_invitesettings_updated\actions\run_script.js:287:12)
    at Object.Actions.invokeActions (C:\Users\<name>\OneDrive\Desktop\Bot_invitesettings_updated\bot.js:502:18)
    at Object.Actions.preformActions (C:\Users\<name>\OneDrive\Desktop\Bot_invitesettings_updated\bot.js:391:8)
    at Object.Bot.checkCommand (C:\Users\<name>\OneDrive\Desktop\Bot_invitesettings_updated\bot.js:182:12)
    at Object.Bot.onMessage (C:\Users\<name>\OneDrive\Desktop\Bot_invitesettings_updated\bot.js:165:13)
    at Client.emit (events.js:311:20)
    at MessageCreateAction.handle (C:\Users\<name>\OneDrive\Desktop\Bot_invitesettings_updated\node_modules\discord.js\src\client\actions\MessageCreate.js:31:14)
(node:20956) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:20956) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

inviteinfo (link) gives me this error >>> TypeError: Actions.fetchDatabase is not a function

Here is my log after running the inviteinfo (link) command

TypeError: Actions.fetchDatabase is not a function
    at eval (eval at Actions.eval (C:\Users\<name>\OneDrive\Desktop\Bot_invitesettings_updated\bot.js:344:10), <anonymous>:5:37)
    at Object.Actions.eval (C:\Users\<name>\OneDrive\Desktop\Bot_invitesettings_updated\bot.js:344:10)
    at Object.action [as Run Script] (C:\Users\<name>\OneDrive\Desktop\Bot_invitesettings_updated\actions\run_script.js:287:12)
    at Object.Actions.callNextAction (C:\Users\<name>\OneDrive\Desktop\Bot_invitesettings_updated\bot.js:547:18)
    at Object.action [as Store Message Params] (C:\Users\<name>\OneDrive\Desktop\Bot_invitesettings_updated\actions\store_message_params_MOD.js:228:10)
    at Object.Actions.invokeActions (C:\Users\<name>\OneDrive\Desktop\Bot_invitesettings_updated\bot.js:502:18)
    at Object.Actions.preformActions (C:\Users\<name>\OneDrive\Desktop\Bot_invitesettings_updated\bot.js:391:8)
    at Object.Bot.checkCommand (C:\Users\<name>\OneDrive\Desktop\Bot_invitesettings_updated\bot.js:182:12)
    at Object.Bot.onMessage (C:\Users\<name>\OneDrive\Desktop\Bot_invitesettings_updated\bot.js:165:13)
    at Client.emit (events.js:311:20)

These errors seem to all be stemming from the invitesettings. I had a backup and updated just the inviteStart event and the version check files and no issues. But after updating the invitesettings file...all of this.

Please let me know if you come across anything or have pushed a new update/fix.
For now..I will not be updating until this is fixed. Hopefully these errors can help you out with fixing this issue.

Bot doesnt give the role

Hi, the stup and all the things are as smooth as butter, but when I react to the message, it doesnt give the specified role, although i did the setup correctly. Can you Help?

gdraw error when trying to pick new winners

? (node:33636) UnhandledPromiseRejectionWarning: DiscordAPIError: Unknown Message ? at RequestHandler.execute (C:\Users\****\Desktop\Discord BOT\BOT\node_modules\discord.js\src\rest\RequestHandler.js:170:25)

Role cancellation

When I cancel the role, I see this error:
TypeError: Converting circular structure to JSON --> starting at object with constructor 'Message' | property 'channel' -> object with constructor 'TextChannel' --- property 'lastMessage' closes the circle at JSON.stringify (<anonymous>) at checkRoles (eval at Actions.eval (E:\Π‘ΠΎΡ‚Ρ‹\Пи Π’ΠΎΠ»ΡŒ\bot.js:307:10), <anonymous>:53:87) at processTicksAndRejections (internal/process/task_queues.js:93:5)

And after restarting the bot, the menu stops working

Giveaway System not announcing winners.

I am using the giveaway system you made, but the deadline passed for the giveaway to end. There are more than 5 people in the giveaway but it still does not end. Is there a fix for this, or is this not implemented yet?

Giveaway Rewritten - Idea

Maybe have a command to allow people to do giveaways.
And or have a command to allow a role to do giveaways.

I know that you can do "permission" for giveaways, but sometimes permission is not what you wish to use.

FS

image
I don't know what that means, I have the fs module installed.

Bot assigning wrong join invite on user join

Using the invite manager thing. It keeps saying (user) invited (user) but the person who invited them and the inv link are both wrong. Its hard to explain but its using a inv link thats only had 2 invites but has said that person has invited them so far over 60 times
But the people joining are from a different invite link

TypeError: Cannot read property 'array' of undefined

Hey, when I start up my bot and try to run your !rolemenu command I get this error here, It worked perfectly on another bot before and I don't know where this suddenly comes from, I would appreciate some advice, thanks!

image

Giveaway Rewritten for [DBM V2.x]

This giveaway system does not work within V2.X of DBM.

image

Tried replacing the message.member.hasPermission() has been removed in djs v13, you need to use message.member.permissions.has()
But it didn't work as intended.
Below is the new error I get.

image

Please help! Your command made me crash my project for days!

brother help please! I wanted to try this command and when executing it I send a strange error, close the program and when I open it again my project is not executed :(, I have implemented too many hours these days, please can you help me ??

RoleMenu after restart don't work + give but not remove roles

Hi,
I followed correctly the command, it worked perfectly but after a restart, the role menu reaction no longer work. (v12)

BONUS
When i put a rolemenu with my server emojis, give roles, but not remove them!
When i put a rolemenu with normal discord emoji, ex classic smile face etc., don't give roles, but remove them!

p.s. Sorry for my english / p.p.s. I am βœ– やまをパシー。め#6969

Invite Manager

Some plans + changes

Invitetop

  • Remove users who have left the server from the invitetop leaderboard?

Toggle roles

  • New settings to give roles when a user gets to a certain amount of real invites.
  • Command a user can use to give themselves a role if the settings were changed after they've hit a requirement
  • Event changes to add/remove role if the user falls below requirement

Settings

  • Allow switching back to simple message/embed?

Idea for Invite Management System

Hello,
I have an idea for the Invite Management System.

Make it so that admins of the current server can set inviter roles so when a user reaches a certain amount of invites it grants them the role.

Thank you.

error on rpc comend

TypeError: Discord.RichEmbed is not a constructor
at eval (eval at Actions.eval (C:\Users\user\Desktop\bots\New Bot Project #5\bot.js:344:10), :7:21)
at Object.Actions.eval (C:\Users\user\Desktop\bots\New Bot Project #5\bot.js:344:10)
at Object.action [as Run Script] (C:\Users\user\Desktop\bots\New Bot Project #5\actions\run_script.js:287:12)
at Object.Actions.invokeActions (C:\Users\user\Desktop\bots\New Bot Project #5\bot.js:502:18)
at Object.Actions.preformActions (C:\Users\user\Desktop\bots\New Bot Project #5\bot.js:391:8)
at Object.Bot.checkCommand (C:\Users\user\Desktop\bots\New Bot Project #5\bot.js:182:12)
at Object.Bot.onMessage (C:\Users\user\Desktop\bots\New Bot Project #5\bot.js:165:13)
at Client.emit (events.js:311:20)
at MessageCreateAction.handle (C:\Users\user\Desktop\bots\New Bot Project #5\node_modules\discord.js\src\client\actions\MessageCreate.js:31:14)
at Object.module.exports [as MESSAGE_CREATE] (C:\Users\user\Desktop\bots\New Bot Project #5\node_modules\discord.js\src\client\websocket\handlers\MESSAGE_CREATE.js:4:32)

Can't end the giveaway

I cant use the "gend" or the "gdraw" command and the giveaway cant pick winner by itself

Can you add me in discord (Doodke#0001) and ill send more images and stuff? Thanks!

[Giveaway System]

Hello, i was wondering, if it's possible, to make the bot resume countdown if it has to be restarted?
As of right now, if the bot restarts, the countdown breaks.

Giveaway Rewritten Idea

Let us re-draw older giveaways. using Gdraw with the number of users and the ID of the giveaway, that has ended before.
Perhaps "quote" the old giveaway.
That way no one will think it's from the latest giveaway.

thumbnail

is possible add a thumbnail in final embed of giveaway?

[Captcha]

[Captcha] You don't have the GUILD_MEMBERS intent enabled!

pls help me

Editable Role Reaction

Allow edits for role reaction menus through a separate set of commands.

  • Lists all role reactions in embed
  • User responds add/remove/move
  • Done

Add

  • User responds (1-amount of role reactions)
  • Asks them for the same format as setup
  • Adds after the select number

Remove

  • User responds (1-amount of role reactions)
  • Remove that reaction at that index

Move

  • User responds with (1-amount of role reactions) (twice)
  • Swap first item and the second item
  • Move first item to the last index if the input is greater than the amount of role reactions
  • Move first item to the first index if the input is less than 1

In-planning

Latest version gives an error, does not show info.

;inviteinfo invitecode
shows the error below.

(node:6792) UnhandledPromiseRejectionWarning: TypeError: Cannot read property '267294261941239808' of undefined
    at main (eval at Actions.eval (/home/dashboard.newstargeted.com/public_html/nt/bot.js:344:10), <anonymous>:90:49)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:6792) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 4)

;Inviteplayer <@80357836940382208>

(node:6792) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'hasOwnProperty' of undefined
    at main (eval at Actions.eval (/home/dashboard.newstargeted.com/public_html/nt/bot.js:344:10), <anonymous>:43:29)
    at eval (eval at Actions.eval (/home/dashboard.newstargeted.com/public_html/nt/bot.js:344:10), <anonymous>:27:9)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:6792) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 5)

;Invitetop

(node:6792) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'hasOwnProperty' of undefined
    at main (eval at Actions.eval (/home/dashboard.newstargeted.com/public_html/nt/bot.js:344:10), <anonymous>:6:39)
    at eval (eval at Actions.eval (/home/dashboard.newstargeted.com/public_html/nt/bot.js:344:10), <anonymous>:53:5)
    at Object.Actions.eval (/home/dashboard.newstargeted.com/public_html/nt/bot.js:344:10)
    at Object.action [as Run Script] (/home/dashboard.newstargeted.com/public_html/nt/actions/run_script.js:287:12)
    at Object.Actions.invokeActions (/home/dashboard.newstargeted.com/public_html/nt/bot.js:502:18)
    at Object.Actions.preformActions (/home/dashboard.newstargeted.com/public_html/nt/bot.js:391:8)
    at Object.Bot.checkCommand (eval at Actions.eval (/home/dashboard.newstargeted.com/public_html/nt/bot.js:344:10), <anonymous>:47:15)
    at Object.Bot.onMessage (/home/dashboard.newstargeted.com/public_html/nt/bot.js:165:13)
    at Client.emit (events.js:315:20)
    at MessageCreateAction.handle (/home/dashboard.newstargeted.com/public_html/nt/node_modules/discord.js/src/client/actions/MessageCreate.js:31:14)
(node:6792) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 7)

These are the versions for the commands over.
(Note Invitesettings does respond, but not sure if it works).

inviteinfo: // VersionCheck:4
inviteplayer: // VersionCheck:2
invitesettings: // VersionCheck:5
invitetop: // VersionCheck:3

InviteStart Event: // VersionCheck:11

These are the latest versions that i know works in my bot.
No later version has ever worked in my bot.

inviteinfo: // VersionCheck:3
inviteplayer: // VersionCheck:2
invitesettings: // VersionCheck:4
invitetop: // VersionCheck:3

InviteStart Event: // VersionCheck:8

Suggestion/Question

Is there a way to store the giveaway information, if the bot restarts.
So it continues?

Reaction Roles not responding

Hello.

I am trying to use the Reaction Role for Discord.js V12
Not sure if it's supported for that yet?

image

image

Not sure if this is related to the removal of roles in the command when i click the emoji and unclick it.
image

Reaction add/remove triggers stop working

Hello,
the choice of reactions work but only to remove a reaction but not the other way around.
When I click on the emote it function 1x out of 20 that the role will give me, but when we uncheck the emote it is removed at all times.

Sorry for my english

error steno?

ho i having this error πŸ‘

Error: Cannot find module 'steno'

Having issues with the reaction role

So I can make the menus with the roles and all and it works but when bot gets restarted it doesn't give roles anymore. I do have all of the data put in and there is no errors.
image
image
image
not sure why this is happening any help?

Reaction Role

After doing the first thing it asks saying to create a format, it always gives me the command "Prompt cancelled, you didnt provide a valid format with both required variables!"

Any help?

Suggestion

A way to do a "redraw" of the winner. If the winner, can't accept the price.
There should be a way to let another random user, in the reactions, win.

Love this but couple of issues

When restarting the bot it does work any more, I get this error when trying to react after a restart - (error below)

Secondly, the role removal does not work.

Not an issue but just wondering ->
Is there a way I could add a timed removal? For example I only want users to have the role for 15 minutes?

    at eval (eval at Actions.eval (C:\Users\Luke\Desktop\Reaction\bot.js:344:10), <anonymous>:38:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:23316) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:23316) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.```

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.