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';
|
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) {
|
export function command(message: discord.Message) {
|
||||||
const pr_number = message.content.substr(message.content.indexOf(' ') + 1).replace(/\n/g, '');
|
const pr_number = message.content.substr(message.content.indexOf(' ') + 1).replace(/\n/g, '');
|
||||||
const url = `https://api.github.com/repos/${repo}/pulls/${pr_number}`;
|
const url = `https://api.github.com/repos/${repo}/pulls/${pr_number}`;
|
||||||
|
|
Loading…
Reference in New Issue