GoogleTrends
This is the cog guide for the googletrends cog. You will find detailed docs about usage and commands.
[p] is considered as your prefix.
Usage
Find what the world is searching, right from Discord.
Please note that there is no Google Trends API, so this is a web scraper and may break at any time.
Commands
trends
Syntax
[p]trends [timeframe=7d] [geo=world] <query...>
Description
Find what the world is searching, right from Discord.
Get started with ``[p]trends discord`` for a basic example!
Optional
timeframe:You can specify either the long (eg
4hours) or short (eg 4h) version of the timeframes. All other values not listed below are invalid.hour/1h4hours/4hday/1dweek/7dmonth/1m3months/3m12months/12m5years/5yallgeo:Defaults to
worldYou can specify a two-letter geographic code, such asUS,GBorFR. Sometimes, you can also add a sub-region. See https://go.vexcodes.com/trends_geo for a list.
Required
trends:Whatever you want! You can add multiple trends, and separate them with a space. If your trend has spaces in it, you can use
+instead of a space or enclose it in quotes, for exampleCard gamestoCard+gamesor"Card games".
Examples:
trends discordThe simple one! Trends for Discord, 7 days, worldwide
trends 1d US discord twitter youtube1 day, United Stats searching for Discord, Twitter and YouTube
trends 1y COVID-19Trend for COVID-19 in the last year in the world
trends all GB discordTrend for Discord in the United Kingdom for all time
trends all US-NY "Donald Trump" "Joe Biden"A trend with spaces - Donald Trump and Joe Biden in New York State for all time
trendsexamples
Syntax
[p]trendsexamples
Description
These are some examples of how to use the [p]trends command,
for details see [p]help trends