Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Fixed bug) its one i made oops! and added permissions #390

Open
wants to merge 19 commits into
base: main
Choose a base branch
from

Conversation

Uncommon-34
Copy link
Contributor

with the rules addition to plugin if the member role got deleted or was null it would delete anyone's message that wasn't admin so added security so that if the role is deleted or name is changed it just wont delete messages anymore and will warn to console and if the role is null it wont do anything.

Uncommon-34 and others added 8 commits November 7, 2024 15:13
Rules is a system where if a user sends a message with out member role the message is deleted and there promted to accept the rules from a message in the rules channel with i accept button
Also refactored a few things here and there.
added a description and how to fix the issues with windows and there Execution Policies. this is mainly for newbies like myself
changed at your request
Copy link

pkg-pr-new bot commented Nov 29, 2024

Open in Stackblitz

@robojs/ai

npm i https://pkg.pr.new/Wave-Play/robo.js/@robojs/ai@390

create-discord-activity

npm i https://pkg.pr.new/Wave-Play/robo.js/create-discord-activity@390

@robojs/ai-voice

npm i https://pkg.pr.new/Wave-Play/robo.js/@robojs/ai-voice@390

@robojs/server

npm i https://pkg.pr.new/Wave-Play/robo.js/@robojs/server@390

create-robo

npm i https://pkg.pr.new/Wave-Play/robo.js/create-robo@390

@robojs/better-stack

npm i https://pkg.pr.new/Wave-Play/robo.js/@robojs/better-stack@390

@roboplay/plugin-confessions

npm i https://pkg.pr.new/Wave-Play/robo.js/@roboplay/plugin-confessions@390

@robojs/dev

npm i https://pkg.pr.new/Wave-Play/robo.js/@robojs/dev@390

@roboplay/plugin-gpt

npm i https://pkg.pr.new/Wave-Play/robo.js/@roboplay/plugin-gpt@390

@robojs/maintenance

npm i https://pkg.pr.new/Wave-Play/robo.js/@robojs/maintenance@390

@robojs/moderation

npm i https://pkg.pr.new/Wave-Play/robo.js/@robojs/moderation@390

@roboplay/plugin-poll

npm i https://pkg.pr.new/Wave-Play/robo.js/@roboplay/plugin-poll@390

@robojs/sync

npm i https://pkg.pr.new/Wave-Play/robo.js/@robojs/sync@390

robo.js

npm i https://pkg.pr.new/Wave-Play/robo.js@390

@roboplay/sage

npm i https://pkg.pr.new/Wave-Play/robo.js/@roboplay/sage@390

commit: 358975b

@Uncommon-34
Copy link
Contributor Author

it would seem i have added all the old commits again i didn't mean to. im not sure how to remove them

'MessageContent',
'GuildMembers'
],
partials: [Partials.Channel, Partials.Message, Partials.GuildMember]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is partials necessary for this? I'm hesitant to include these in the plugin by default as that will cause users using it to start receiving events and data they otherwise wouldn't have received. I'd rather users opt-in instead.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm pretty sure the messages partical is need as it used the message create event. But I think I can remove the other particals. I just added all the ones my test bot had.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you mind testing without those partials to verify please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants