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

Added embed logging to guild leave and join #164

Merged
merged 3 commits into from
Jan 20, 2019
Merged

Added embed logging to guild leave and join #164

merged 3 commits into from
Jan 20, 2019

Conversation

cxnky
Copy link
Member

@cxnky cxnky commented Jan 20, 2019

Prevents a repeat of the mass pinging fiasco by putting everything into a "nicely" formatted embed

Prevents a repeat of the mass pinging fiasco
BillChirico
BillChirico previously approved these changes Jan 20, 2019

builder.Title = "New Guild";
builder.Color = new Color(0x00BFFF);
builder.AddField("Name", guild.Name, false);
Copy link
Member

Choose a reason for hiding this comment

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

You have duplicate code here with the leave guild embeds, you could create a private method to handle both in this case.

@BillChirico BillChirico merged commit f2a8910 into master Jan 20, 2019
@BillChirico BillChirico deleted the log-embeds branch January 20, 2019 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants