UNPKG
@exoplay/exobot-adapter-discord
Version:
latest (3.1.1)
3.1.1
3.1.0
3.0.0
2.0.0
1.1.0
1.0.1
1.0.0
0.4.0
0.3.1
0.3.0
0.2.1
0.2.0
0.1.1
0.1.0
0.0.4
0.0.3
0.0.2
0.0.1
exobot adapter for discord
github.com/exoplay/exobot-adapter-discord
exoplay/exobot-adapter-discord
@exoplay/exobot-adapter-discord
/
node_modules
/
discord.js
/
src
/
client
/
actions
/
ChannelCreate.js
14 lines
(11 loc)
•
279 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
const
Action = require(
'./Action'
);
class
ChannelCreateAction
extends
Action
{ handle(
data
) {
const
client =
this
.client;
const
channel = client.dataManager.newChannel(
data
);
return
{ channel, }; } } module.exports = ChannelCreateAction;