mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-01-05 19:57:02 +00:00
Bot: Updated message URL for arguments
This commit is contained in:
parent
5ac262163e
commit
c4504808a2
|
@ -12,7 +12,7 @@ import (
|
|||
// canary. matches canary MessageURL
|
||||
// 3 `(\d+)` for guild ID, channel ID and message ID
|
||||
var Regex = regexp.MustCompile(
|
||||
`https://(|ptb\.|canary\.)discordapp\.com/channels/(\d+)/(\d+)/(\d+)`,
|
||||
`https://(ptb\.|canary\.)?discord(?:app)?\.com/channels/(\d+)/(\d+)/(\d+)`,
|
||||
)
|
||||
|
||||
// MessageURL contains info from a MessageURL
|
||||
|
|
Loading…
Reference in a new issue