Skip to content
This repository has been archived by the owner on Aug 27, 2018. It is now read-only.

Add helper Classes/ PermLevel helper class #231

Merged
merged 13 commits into from
May 21, 2017
Merged

Conversation

bdistin
Copy link
Contributor

@bdistin bdistin commented May 17, 2017

Proposed Semver Increment Bump: [MAJOR/MINOR/PATCH]

Minor, well technically major since it requires making a new komada.Client() instead of just new Komada(), but this is indev for something unreleased as stable anyway...

Changes Proposed in this Pull Request (List new items in CHANGELOG.MD)

  • Adds a way to add helper classes
  • Adds a PermLevel helper class to help cleanly generate permlevel structures
  • Automates all selfbot checks via client.user.bot (removes the need for client.config.selfbot)

(If Applicable) What Issue does it fix?

Fixes...

@bdistin
Copy link
Contributor Author

bdistin commented May 17, 2017

incomplete... attempting to do the rest via gitkraken, rather than web, and it is giving issues.

README.md Outdated
@@ -47,7 +47,7 @@ client.login("your-bot-token");
- **prefix**: The default prefix when the bot first boots up. This option becomes useless after first boot, since the prefix is written to the default configuration system.
- **clientOptions**: These are passed directly to the discord.js library. They are optional. For more information on which options are available, see [ClientOptions in the discord.js docs](https://discord.js.org/#/docs/main/stable/typedef/ClientOptions).

> For all you selfbot users out there, you can add a option ('selfbot': true) to have Komada enabled for selfbot usage. i.e. only respond to commands from you.
> Komada automatically detects selfbot mode, and takes appropriate percautions, such as not responding to anyone but yourself.
Copy link
Owner

Choose a reason for hiding this comment

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

percautions

Copy link
Collaborator

@CyberiumShadow CyberiumShadow left a comment

Choose a reason for hiding this comment

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

Looks pre good.

@CyberiumShadow CyberiumShadow merged commit 9659cbc into indev May 21, 2017
@bdistin bdistin deleted the bdistin-patch-1 branch May 21, 2017 16:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants