WIP: [#1]: Athena Rewrite #1
+4
-3
@@ -1,12 +1,13 @@
|
||||
export * from './handle-audit-log-create';
|
||||
// export * from './handle-audit-log-create';
|
||||
import guildBanRemove from './guildBanRemove';
|
||||
import guildCreate from './guildCreate';
|
||||
import guildMemberAdd from './guildMemberAdd';
|
||||
export * from './handle-message';
|
||||
import ready from './ready';
|
||||
// export * from './handle-message';
|
||||
import threadCreate from './threadCreate';
|
||||
|
||||
import voiceChannelJoin from './voiceChannelJoin';
|
||||
import voiceChannelLeft from './voiceChannelLeft';
|
||||
import voiceChannelSwitch from './voiceChannelSwitch';
|
||||
|
||||
export default [guildBanRemove, guildCreate, guildMemberAdd, threadCreate, voiceChannelJoin, voiceChannelLeft, voiceChannelSwitch];
|
||||
export default [guildBanRemove, guildCreate, guildMemberAdd, ready, threadCreate, voiceChannelJoin, voiceChannelLeft, voiceChannelSwitch];
|
||||
@@ -0,0 +1,17 @@
|
||||
// External Imports
|
||||
import { CommandClient, Event, Guild } from 'athena-prime';
|
||||
|
||||
// ---------------
|
||||
|
||||
class ReadyEvent extends Event<CommandClient> {
|
||||
event: string = 'ready' as const;
|
||||
|
||||
async handle(context: CommandClient<any, any>, guild: Guild) {
|
||||
await context.deployCommands();
|
||||
|
||||
// :3 - This is non-negotiable.
|
||||
context.setCustomActivity('Hugging my favourite bat: nix :3');
|
||||
}
|
||||
}
|
||||
|
||||
export default new ReadyEvent('ready');
|
||||
Reference in New Issue
Block a user