Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto Spoopy piece #295

Open
wants to merge 9 commits into
base: dev
Choose a base branch
from

Conversation

BenSegal855
Copy link
Contributor

@BenSegal855 BenSegal855 commented Oct 1, 2022

This PR adds the ability for Sage to automatically change the server icon for Halloween and then change it back again after the spoopy season has ended. Spoopification notices are sent to the error log because it was the easiest. I also made it so the bot owners can be a single user instead of a team because it made Josh sad.

async function enableSpook(bot:Client) {
const guild = bot.guilds.cache.get(GUILDS.MAIN);

await guild.setIcon(`${__dirname}/../../../assets/images/spoopylogo.png`, 'Spoopifying the server.');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know this is how they do it everywhere else but I still cry every time I see it

src/pieces/autoSpookyness.ts Outdated Show resolved Hide resolved
src/sage.ts Outdated Show resolved Hide resolved
src/sage.ts Outdated Show resolved Hide resolved

constructor(message: string) {
super(message);
this.name = 'Spoopification has taken place';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Petition to make this say
Boo! and Un-boo! when you spoopify and unspoopify respectively

@BenSegal855
Copy link
Contributor Author

BenSegal855 commented Oct 1, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants