Moved VOICE_CHANNEL & TEXT_CHANNEL const's to channels module

This commit is contained in:
shockrah 2020-05-27 21:29:27 -07:00
parent 4e61ddbe11
commit e99e30b45c

View File

@ -34,10 +34,6 @@ pub const _USER_ONLINE: i32 = 2;
pub const _USER_AWAY: i32 = 3;
pub const _USER_DO_NOT_DISTRUB: i32 = 4;
// These are to be use specifically for discerning between channel types
pub const VOICE_CHANNEL: i32 = 1;
pub const TEXT_CHANNEL: i32 = 2;
#[derive(Serialize, Deserialize, Queryable, Insertable)]
#[table_name = "channels" ]
pub struct Channel {