This repository was archived by the owner on Oct 9, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export default class CallCommand extends BaseCommand {
4747 name : 'call' ,
4848 description : '📞 [BETA] Start a call with another server' ,
4949 aliases : [ 'c' ] ,
50- examples : [ 'i .call' , 'i .c' ] ,
50+ examples : [ '.call' , '.c' ] ,
5151 types : { slash : true , prefix : true } ,
5252 contexts : { guildOnly : true } ,
5353 } ) ;
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ export default class HangupCommand extends BaseCommand {
4545 name : 'hangup' ,
4646 description : '📞 End the current call' ,
4747 aliases : [ 'h' ] ,
48- examples : [ 'i .hangup' , 'i .h' ] ,
48+ examples : [ '.hangup' , '.h' ] ,
4949 types : { slash : true , prefix : true } ,
5050 contexts : { guildOnly : true } ,
5151 } ) ;
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export default class SkipCommand extends BaseCommand {
1616 name : 'skip' ,
1717 description : '[BETA] Skip the current call and find a new match' ,
1818 aliases : [ 's' ] ,
19- examples : [ 'i .skip' , 'i .s' ] ,
19+ examples : [ '.skip' , '.s' ] ,
2020 types : { slash : true , prefix : true } ,
2121 contexts : { guildOnly : true } ,
2222 } ) ;
Original file line number Diff line number Diff line change 1616 */
1717
1818import type Context from '#src/core/CommandContext/Context.js' ;
19- // eslint-disable-next-line no-duplicate-imports
2019import type { ValidContextInteractions } from '#src/core/CommandContext/Context.js' ;
2120import type PrefixContext from '#src/core/CommandContext/PrefixContext.js' ;
2221import { CustomID } from '#src/utils/CustomID.js' ;
Original file line number Diff line number Diff line change @@ -43,7 +43,15 @@ export default class MessageCreate extends BaseEventListener<'messageCreate'> {
4343 async execute ( message : Message ) {
4444 if ( ! message . inGuild ( ) || ! isHumanMessage ( message ) ) return ;
4545
46- if ( message . content . startsWith ( 'c!' ) ) {
46+ // FIXME: this is temp, remove on 01/07/2025
47+ if ( message . content . includes ( 'c!' ) ) {
48+ await message . reply (
49+ 'The `c!` prefix has been changed to `.`. Type `.help` to see all available commands.' ,
50+ ) ;
51+ return ;
52+ }
53+
54+ if ( message . content . startsWith ( message . client . prefix ) ) {
4755 await this . handlePrefixCommand ( message ) ;
4856 return ;
4957 }
You can’t perform that action at this time.
0 commit comments