diff options
author | Cara Salter <cara@devcara.com> | 2022-01-12 15:45:20 -0500 |
---|---|---|
committer | Cara Salter <cara@devcara.com> | 2022-01-12 15:45:20 -0500 |
commit | 67e4081aa69f489ad88ee064402d68a5969069c2 (patch) | |
tree | c69b79679d35df650b684fa487b1725b3c211250 /src/models.rs | |
parent | 6bc33b93eb5d55fb855803b0bf8cf7658a60e2b1 (diff) | |
download | glitch-ng-67e4081aa69f489ad88ee064402d68a5969069c2.tar.gz glitch-ng-67e4081aa69f489ad88ee064402d68a5969069c2.zip |
rroles: Implement Reaction Roles
now requires postgresql.
Diffstat (limited to 'src/models.rs')
-rw-r--r-- | src/models.rs | 9 |
1 files changed, 9 insertions, 0 deletions
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, +} |