mirror of
https://github.com/citra-emu/discord-bot.git
synced 2024-12-23 01:05:38 +00:00
status: Fix "Developer" role (#101)
This commit is contained in:
parent
54b9f4f8e1
commit
e0655d1cdd
|
@ -6,7 +6,7 @@ const fetchOptions = {
|
|||
};
|
||||
const repo = process.env.GITHUB_REPOSITORY || 'citra-emu/citra';
|
||||
|
||||
export const roles = ['Admins', 'Moderators', 'Developers'];
|
||||
export const roles = ['Admins', 'Moderators', 'Developer'];
|
||||
export function command(message: discord.Message) {
|
||||
const pr_number = message.content.substr(message.content.indexOf(' ') + 1).replace(/\n/g, '');
|
||||
const url = `https://api.github.com/repos/${repo}/pulls/${pr_number}`;
|
||||
|
|
Loading…
Reference in a new issue