sairasu
sairasu
SIASapphire - Imagine a framework
Created by clownn on 1/14/2023 in #sapphire-support
what is this regex supposed to mean?
i dont think thats nvim default font dawg mine doesnt look like that at all
13 replies
SIASapphire - Imagine a framework
Created by sairasu on 1/14/2023 in #sapphire-support
message commands are not working
not in my case
43 replies
SIASapphire - Imagine a framework
Created by sairasu on 1/14/2023 in #sapphire-support
message commands are not working
for sure
43 replies
SIASapphire - Imagine a framework
Created by sairasu on 1/14/2023 in #sapphire-support
message commands are not working
ill debug ig
43 replies
SIASapphire - Imagine a framework
Created by sairasu on 1/14/2023 in #sapphire-support
message commands are not working
not sure how thats relevant
43 replies
SIASapphire - Imagine a framework
Created by sairasu on 1/14/2023 in #sapphire-support
message commands are not working
absolutely no reason to use the same command more than twice but ok
43 replies
SIASapphire - Imagine a framework
Created by sairasu on 1/14/2023 in #sapphire-support
message commands are not working
import './lib/setup';
import { BucketScope, LogLevel, SapphireClient } from '@sapphire/framework';
import { GatewayIntentBits, Partials } from 'discord.js';

const client = new SapphireClient({
defaultCooldown: {
delay: 10000,
limit: 2,
scope: BucketScope.Channel
},
defaultPrefix: '.',
caseInsensitiveCommands: true,
logger: {
level: LogLevel.Debug
},
shards: 'auto',
intents: [
GatewayIntentBits.DirectMessageReactions,
GatewayIntentBits.DirectMessages,
GatewayIntentBits.GuildBans,
GatewayIntentBits.GuildEmojisAndStickers,
GatewayIntentBits.GuildMembers,
GatewayIntentBits.GuildMessageReactions,
GatewayIntentBits.GuildMessages,
GatewayIntentBits.Guilds,
GatewayIntentBits.GuildVoiceStates,
GatewayIntentBits.MessageContent
],
partials: [Partials.Channel],
api: {
listenOptions: {
port: 6000,
},
},
loadMessageCommandListeners: true
});

const main = async () => {
try {
client.logger.info('Logging in');
await client.login();
client.logger.info(`logged in as ${client.user?.tag}`);
} catch (error) {
client.logger.fatal(error);
client.destroy();
process.exit(1);
}
};

main();
import './lib/setup';
import { BucketScope, LogLevel, SapphireClient } from '@sapphire/framework';
import { GatewayIntentBits, Partials } from 'discord.js';

const client = new SapphireClient({
defaultCooldown: {
delay: 10000,
limit: 2,
scope: BucketScope.Channel
},
defaultPrefix: '.',
caseInsensitiveCommands: true,
logger: {
level: LogLevel.Debug
},
shards: 'auto',
intents: [
GatewayIntentBits.DirectMessageReactions,
GatewayIntentBits.DirectMessages,
GatewayIntentBits.GuildBans,
GatewayIntentBits.GuildEmojisAndStickers,
GatewayIntentBits.GuildMembers,
GatewayIntentBits.GuildMessageReactions,
GatewayIntentBits.GuildMessages,
GatewayIntentBits.Guilds,
GatewayIntentBits.GuildVoiceStates,
GatewayIntentBits.MessageContent
],
partials: [Partials.Channel],
api: {
listenOptions: {
port: 6000,
},
},
loadMessageCommandListeners: true
});

const main = async () => {
try {
client.logger.info('Logging in');
await client.login();
client.logger.info(`logged in as ${client.user?.tag}`);
} catch (error) {
client.logger.fatal(error);
client.destroy();
process.exit(1);
}
};

main();
43 replies
SIASapphire - Imagine a framework
Created by sairasu on 1/14/2023 in #sapphire-support
message commands are not working
heres what i have in my index
43 replies
SIASapphire - Imagine a framework
Created by sairasu on 1/14/2023 in #sapphire-support
message commands are not working
43 replies
SIASapphire - Imagine a framework
Created by sairasu on 1/14/2023 in #sapphire-support
message commands are not working
but commands just dont run? its hard to find the bug when theres no error
43 replies
SIASapphire - Imagine a framework
Created by sairasu on 1/14/2023 in #sapphire-support
message commands are not working
the only issue is that messageCreate IS being logged if i try and just make it log what im saying in a server
43 replies
SIASapphire - Imagine a framework
Created by sairasu on 1/14/2023 in #sapphire-support
message commands are not working
I’ll send something in a few
43 replies
SIASapphire - Imagine a framework
Created by sairasu on 1/14/2023 in #sapphire-support
message commands are not working
the bot responds when it’s pinged and says “My prefix is .” but doesn’t respond to commands
43 replies
SIASapphire - Imagine a framework
Created by sairasu on 1/14/2023 in #sapphire-support
message commands are not working
I thought I had fixed it but it did not actually work which is strange
43 replies
SIASapphire - Imagine a framework
Created by sairasu on 1/14/2023 in #sapphire-support
message commands are not working
I was using control F but yea for sure
43 replies
SIASapphire - Imagine a framework
Created by sairasu on 1/14/2023 in #sapphire-support
message commands are not working
thanks tho
43 replies
SIASapphire - Imagine a framework
Created by sairasu on 1/14/2023 in #sapphire-support
message commands are not working
actually i tried a lot and couldnt find this
43 replies