Skip to content

Commit

Permalink
Add getter for everyone role in a guild (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
abitofevrything authored Apr 14, 2024
1 parent e9793e5 commit d560a92
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/src/extensions/managers/role_manager.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import 'package:nyxx/nyxx.dart';

extension RoleManagerExtensions on RoleManager {
/// The role representing `@everyone` in this guild.
PartialRole get everyone => this[guildId];
}

0 comments on commit d560a92

Please sign in to comment.