Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
robverhoef committed Aug 2, 2020
1 parent d696217 commit 9af9d70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions util/listRaids.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ module.exports = async (reason, ctx) => {
out += `*${ctx.i18n.t('remote_invitables_list')}*\n`
for (const invite of invitables) {
if (invite.User.pokemonname || invite.User.friendcode) {
const usr = encodeURI(`https://t.me/pogodevbot?start=udetail_${invite.User.id}`)
const usr = encodeURI(`https://t.me/${process.env.BOT_USERNAME}?start=udetail_${invite.User.id}`)
out += `[${invite.User.tUsername}](${usr}) `
} else {
out += `[${invite.User.tUsername}](tg://user?id=${invite.User.tId})`
Expand All @@ -119,7 +119,7 @@ module.exports = async (reason, ctx) => {
}

// List today's Ex Raids
const exraids = await models.Exraid.findAll({
const exraids = await models.Exraid.findAll({
include: [
models.Gym,
models.Exraiduser
Expand Down

0 comments on commit 9af9d70

Please sign in to comment.