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

Added reaction events #122

Merged
merged 8 commits into from
Jun 25, 2023
Merged

Added reaction events #122

merged 8 commits into from
Jun 25, 2023

Conversation

PandaGuerrier
Copy link
Member

I had added reaction events messages.

import 'package:mineral_ioc/ioc.dart';

class MemberRoleManager extends CacheManager<Role> {
class MemberRoleManager extends CacheManager<Role> with Container {
Copy link
Member

Choose a reason for hiding this comment

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

Don't use Container mixin on this class, import the service on your function

import '../../../../core/builders.dart';

class MessageReactionRemoveEvent extends Event {
final Guild? guild;
Copy link
Member

Choose a reason for hiding this comment

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

Use getters instead

@LeadcodeDev LeadcodeDev merged commit 13d4a1e into develop Jun 25, 2023
@LeadcodeDev LeadcodeDev deleted the feat/reactions branch June 25, 2023 13:42
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.

2 participants