mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-18 07:35:02 +00:00
Fix some argument type names
This commit is contained in:
parent
51a77b0082
commit
9f7f87dc77
5 changed files with 8 additions and 8 deletions
|
@ -174,7 +174,7 @@ export class StarboardPlugin extends ZeppelinPlugin<IStarboardPluginConfig> {
|
|||
/**
|
||||
* Deletes the starboard from the specified channel. The already-posted starboard messages are retained.
|
||||
*/
|
||||
@d.command("starboard delete", "<channelId:channelId>")
|
||||
@d.command("starboard delete", "<channelId:channelid>")
|
||||
@d.permission("can_manage")
|
||||
async deleteCmd(msg: Message, args: { channelId: string }) {
|
||||
const starboard = await this.starboards.getStarboardByChannelId(args.channelId);
|
||||
|
@ -333,7 +333,7 @@ export class StarboardPlugin extends ZeppelinPlugin<IStarboardPluginConfig> {
|
|||
}
|
||||
}
|
||||
|
||||
@d.command("starboard migrate_pins", "<pinChannelId:channelId> <starboardChannelId:channelId>")
|
||||
@d.command("starboard migrate_pins", "<pinChannelId:channelid> <starboardChannelId:channelid>")
|
||||
async migratePinsCmd(msg: Message, args: { pinChannelId: string; starboardChannelId }) {
|
||||
const starboard = await this.starboards.getStarboardByChannelId(args.starboardChannelId);
|
||||
if (!starboard) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue