Moved VOICE_CHANNEL & TEXT_CHANNEL const's to channels module
This commit is contained in:
parent
4e61ddbe11
commit
e99e30b45c
@ -34,10 +34,6 @@ pub const _USER_ONLINE: i32 = 2;
|
|||||||
pub const _USER_AWAY: i32 = 3;
|
pub const _USER_AWAY: i32 = 3;
|
||||||
pub const _USER_DO_NOT_DISTRUB: i32 = 4;
|
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)]
|
#[derive(Serialize, Deserialize, Queryable, Insertable)]
|
||||||
#[table_name = "channels" ]
|
#[table_name = "channels" ]
|
||||||
pub struct Channel {
|
pub struct Channel {
|
||||||
|
Loading…
Reference in New Issue
Block a user