Parent Directory
|
Revision Log
chore: add old version archive branches (2.x to 9.x-dev)
1 | rakinar2 | 577 | import { Collection, Message, NonThreadGuildBasedChannel, Role } from "discord.js"; |
2 | import DiscordClient from "../../client/Client"; | ||
3 | import BaseEvent from "../../utils/structures/BaseEvent"; | ||
4 | |||
5 | export default class RoleCreateEvent extends BaseEvent { | ||
6 | constructor() { | ||
7 | super('roleCreate'); | ||
8 | } | ||
9 | |||
10 | async run(client: DiscordClient, role: Role) { | ||
11 | await client.logger.onRoleCreate(role); | ||
12 | } | ||
13 | } |
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |