Skip to content

Commit

Permalink
ref: use guild raw features list for database
Browse files Browse the repository at this point in the history
  • Loading branch information
V3ntus committed Apr 17, 2023
1 parent 66eb797 commit 4ea017f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/database.dart
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ class NyxxToDB {
splashUrl: guild.splashUrl(),
memberCount: (guild.memberCount ?? 0).toString(),
description: guild.description,
features: jsonEncode(guild.features.map((e) => e.value)),
features: jsonEncode(guild.raw["features"]),
premiumTier: guild.premiumSubscriptionCount ?? 0,
boosts: guild.premiumSubscriptionCount,
);
Expand Down

0 comments on commit 4ea017f

Please sign in to comment.