From 67e4081aa69f489ad88ee064402d68a5969069c2 Mon Sep 17 00:00:00 2001 From: Cara Salter Date: Wed, 12 Jan 2022 15:45:20 -0500 Subject: rroles: Implement Reaction Roles now requires postgresql. --- src/models.rs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/models.rs (limited to 'src/models.rs') diff --git a/src/models.rs b/src/models.rs new file mode 100644 index 0000000..4b2e7bb --- /dev/null +++ b/src/models.rs @@ -0,0 +1,9 @@ +#[derive(Debug)] +pub struct ReactionRole { + pub id: i32, + pub channel_id: String, + pub message_id: String, + pub guild_id: String, + pub reaction: String, + pub role_id: String, +} -- cgit v1.2.3