Skip to content
This repository has been archived by the owner on May 3, 2021. It is now read-only.

Request - guilds only #76

Open
7yultukuri7 opened this issue Jan 14, 2020 · 5 comments
Open

Request - guilds only #76

7yultukuri7 opened this issue Jan 14, 2020 · 5 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@7yultukuri7
Copy link

指定したギルドのみ実行可能
help command にも対応してほしい #44

export = class extends Command {
  constructor(client) {
    super(client, {
      name: 'command name', //Required
      guildsonly: ['443320971609374721', '391390986770710528'] // <--ここ
    });
  }
  run(message) {
    // ...
  }
};
@7yultukuri7
Copy link
Author

discord.jsの公式コマンドフレームワーク Commando にはない機能だからこれがあると便利になる。

@mouse484 mouse484 added the enhancement New feature or request label Jan 14, 2020
@mouse484
Copy link
Owner

guildOnly -> DM ❎

にする予定なので別の名前を考えてその機能実装したいです
そのユーザー版も良いかもしれません

@mouse484
Copy link
Owner

guildOnly can not be used in DM
So think of another name.

User version may be good

@mouse484 mouse484 changed the title featureRequest - guilds only Request - guilds only Jan 14, 2020
@mouse484
Copy link
Owner

add guildOnly #77

@mouse484 mouse484 added the help wanted Extra attention is needed label Jan 16, 2020
@mouse484
Copy link
Owner

@7yultukuri7

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants