Anthony
Anthony
Explore posts from servers
SIASapphire - Imagine a framework
Created by Anthony on 2/16/2023 in #sapphire-support
Manual task not executing
but I think it's also why I don't ask a lot of questions as it's usually down to me being silly for the reasons above haha
12 replies
SIASapphire - Imagine a framework
Created by Anthony on 2/16/2023 in #sapphire-support
Manual task not executing
And yeah my bad about the way I've read the documentation, I have a very strange way of learning which is usually skimming through documentation and going through trial and error... which is not the best imo, but I struggle to read slowly, and I think this is where my downfall is, even though I spent hours trying to debug it 😭
12 replies
SIASapphire - Imagine a framework
Created by Anthony on 2/16/2023 in #sapphire-support
Manual task not executing
Ohhh that makes sense, thank you for explaining it to me :)
12 replies
SIASapphire - Imagine a framework
Created by Anthony on 2/16/2023 in #sapphire-support
Manual task not executing
Oh yeah, I forgot to mention this, one of the reasons I thought it didn't have much to do with the naming is that I didn't get an error like TS2345: Argument of type '"tempban"' is not assignable to parameter of type 'keyof ScheduledTasks'. because of the file name, which is also why I thought tasks were ran like I thought they were.
12 replies
SIASapphire - Imagine a framework
Created by Anthony on 2/16/2023 in #sapphire-support
Manual task not executing
But thank you so much for your help :))
12 replies
SIASapphire - Imagine a framework
Created by Anthony on 2/16/2023 in #sapphire-support
Manual task not executing
I don't know if I just don't understand TypeScript that well or if the documentation was potentially misleading? But I thought the name would be retrieved from declare module '@sapphire/plugin-scheduled-tasks' { ... }, so I didn't think the file name would've been the issue 😭
12 replies
SIASapphire - Imagine a framework
Created by Anthony on 2/16/2023 in #sapphire-support
Manual task not executing
I feel slightly silly with how simple of a problem/fix it was. I used event listeners to find out that tempBan was not found but the name of the file was tempban.ts, so it wouldn't run because the file name was all lowercase.
12 replies
SIASapphire - Imagine a framework
Created by sairasu on 1/14/2023 in #sapphire-support
message commands are not working
And I'd be happy to make a PR :)
43 replies
SIASapphire - Imagine a framework
Created by sairasu on 1/14/2023 in #sapphire-support
message commands are not working
Ahhh alright, at least that softens the blow for me haha
43 replies
SIASapphire - Imagine a framework
Created by sairasu on 1/14/2023 in #sapphire-support
message commands are not working
Yeahhh it seems like I didn't know I had to add GatewayIntentBits.MessageContent, sorry about that. Thank you though :))
43 replies
SIASapphire - Imagine a framework
Created by sairasu on 1/14/2023 in #sapphire-support
message commands are not working
Sorry, I thought as it said it was solved that it may have been fixed in DMs or something. Here is the repo, ignore the bit of a mess it is, ik I need to get to refactoring it 😭 https://github.com/veganhacktivists/arabot This is a command I knew that worked in v3: https://github.com/veganhacktivists/arabot/blob/main/src/commands/roles/convinced.ts In https://github.com/veganhacktivists/arabot/blob/main/src/index.ts I have also tried to see if defaultPrefix: process.env.DEFAULT_PREFIX, was the issue and replaced it with defaultPrefix: '?', in testing, but it didn't help.
43 replies
SIASapphire - Imagine a framework
Created by sairasu on 1/14/2023 in #sapphire-support
message commands are not working
I seem to have fallen into the same issue as well, I can't figure out why after I've updated to v4 that message commands won't run, and it worked on v3. I have tried to check and for some reason it won't run anything inside messageRun.
43 replies