1+ <?php
2+
3+ namespace Ourted \Interfaces ;
4+
5+ class Types
6+ {
7+ public function permissions ()
8+ {
9+ static $ CREATE_INSTANT_INVITE = 0x00000001 ;
10+ static $ KICK_MEMBERS = 0x00000002 ;
11+ static $ BAN_MEMBERS = 0x00000004 ;
12+ static $ ADMINISTRATOR = 0x00000008 ;
13+ static $ MANAGE_CHANNELS = 0x00000010 ;
14+ static $ MANAGE_GUILD = 0x00000020 ;
15+ static $ ADD_REACTIONS = 0x00000040 ;
16+ static $ VIEW_AUDIT_LOG = 0x00000080 ;
17+ static $ PRIORITY_SPEAKER = 0x00000100 ;
18+ static $ STREAM = 0x00000200 ;
19+ static $ VIEW_CHANNEL = 0x00000400 ;
20+ static $ SEND_MESSAGES = 0x00000800 ;
21+ static $ SEND_TTS_MESSAGES = 0x00001000 ;
22+ static $ MANAGE_MESSAGES = 0x00002000 ;
23+ static $ EMBED_LINKS = 0x00004000 ;
24+ static $ ATTACH_FILES = 0x00008000 ;
25+ static $ READ_MESSAGE_HISTORY = 0x00010000 ;
26+ static $ MENTION_EVERYONE = 0x00020000 ;
27+ static $ USE_EXTERNAL_EMOJIS = 0x00040000 ;
28+ static $ VIEW_GUILD_INSIGHTS = 0x00080000 ;
29+ static $ CONNECT = 0x00100000 ;
30+ static $ SPEAK = 0x00200000 ;
31+ static $ MUTE_MEMBERS = 0x00400000 ;
32+ static $ DEAFEN_MEMBERS = 0x00800000 ;
33+ static $ MOVE_MEMBERS = 0x01000000 ;
34+ static $ USE_VAD = 0x02000000 ;
35+ static $ CHANGE_NICKNAME = 0x04000000 ;
36+ static $ MANAGE_NICKNAMES = 0x08000000 ;
37+ static $ MANAGE_ROLES = 0x10000000 ;
38+ static $ MANAGE_WEBHOOKS = 0x20000000 ;
39+ static $ MANAGE_EMOJIS = 0x40000000 ;
40+ }
41+
42+ public function textChannel ()
43+ {
44+ static $ GUILD_TEXT = 0 ;
45+ static $ DM = 1 ;
46+ static $ GUILD_VOICE = 2 ;
47+ static $ GROUP_DM = 3 ;
48+ static $ GUILD_NEWS = 4 ;
49+ static $ GUILD_STORE = 5 ;
50+ }
51+
52+
53+
54+ }
0 commit comments