Skip to content

Commit ced787a

Browse files
committed
Update | PHPDocs
1 parent 43324c0 commit ced787a

File tree

1 file changed

+60
-7
lines changed

1 file changed

+60
-7
lines changed

src/Model/EventListener/EventListener.php

Lines changed: 60 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -79,88 +79,141 @@ public function __construct($bot)
7979
}
8080

8181
# Guild
82+
/**
83+
* @param mixed $json
84+
* @param Bot $bot
85+
*/
8286
public function onGuildJoin($json, $bot)
8387
{
8488

8589
}
8690

91+
/**
92+
* @param mixed $json
93+
* @param Bot $bot
94+
*/
8795
public function onGuildUpdate($json, $bot)
8896
{
8997

9098
}
9199

100+
/**
101+
* @param mixed $json
102+
* @param Bot $bot
103+
*/
92104
public function onGuildDelete($json, $bot)
93105
{
94106

95107
}
96108

97109
# Member
110+
/**
111+
* @param mixed $json
112+
* @param Bot $bot
113+
*/
98114
public function onGuildMemberAdd($json, $bot)
99115
{
100116

101117
}
102118

119+
/**
120+
* @param mixed $json
121+
* @param Bot $bot
122+
*/
103123
public function onGuildMemberUpdate($json, $bot)
104124
{
105125

106126
}
107127

128+
/**
129+
* @param mixed $json
130+
* @param Bot $bot
131+
*/
108132
public function onGuildMemberDelete($json, $bot)
109133
{
110134

111135
}
112136

113137
# Channel
138+
/**
139+
* @param mixed $json
140+
* @param Bot $bot
141+
*/
114142
public function onChannelCreate($json, $bot)
115143
{
116144

117145
}
118146

147+
/**
148+
* @param mixed $json
149+
* @param Bot $bot
150+
*/
119151
public function onChannelUpdate($json, $bot)
120152
{
121153

122154
}
123155

156+
/**
157+
* @param mixed $json
158+
* @param Bot $bot
159+
*/
124160
public function onChannelDelete($json, $bot)
125161
{
126162

127163
}
128164

165+
/**
166+
* @param mixed $json
167+
* @param Bot $bot
168+
*/
129169
public function onChannelPinsUpdate($json, $bot)
130170
{
131171

132172
}
133173

134-
135-
136-
137-
138-
139174
# Role
175+
/**
176+
* @param mixed $json
177+
* @param Bot $bot
178+
*/
140179
public function onGuildRoleCreate($json, $bot)
141180
{
142181

143182
}
144183

184+
/**
185+
* @param mixed $json
186+
* @param Bot $bot
187+
*/
145188
public function onGuildRoleUpdate($json, $bot)
146189
{
147190

148191
}
149192

193+
/**
194+
* @param mixed $json
195+
* @param Bot $bot
196+
*/
150197
public function onGuildRoleDelete($json, $bot)
151198
{
152199

153200
}
154201

155-
156202
# Message
203+
/**
204+
* @param mixed $json
205+
* @param Bot $bot
206+
*/
157207
public function onMessageCreate($json, $bot)
158208
{
159209

160210
}
161211

162-
163212
# Bot
213+
/**
214+
* @param mixed $json
215+
* @param Bot $bot
216+
*/
164217
public function onReady($json, $bot)
165218
{
166219

0 commit comments

Comments
 (0)